2017-08-19 02:21:25 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////foo({
|
|
|
|
//// /**/f: function() {},
|
|
|
|
//// f() {}
|
|
|
|
////});
|
|
|
|
|
2017-09-07 16:22:39 +02:00
|
|
|
// The symbol indicates that this is a function, but the type is `any`.
|
2017-08-19 02:21:25 +02:00
|
|
|
// Regression test that we don't crash (by trying to get signatures from `any`).
|
2017-09-07 16:22:39 +02:00
|
|
|
verify.quickInfoAt("", "(method) f(): void");
|