13 lines
278 B
TypeScript
13 lines
278 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @filename: foo.js
|
|
////const Bar;
|
|
////const Foo = /*def*/Bar = function () {}
|
|
////Foo.prototype.bar = function() {}
|
|
////new [|Foo/*ref*/|]();
|
|
|
|
goTo.file("foo.js");
|
|
verify.goToDefinition("ref", "def");
|