TypeScript/tests/cases/fourslash/goToDefinitionDynamicImport2.ts

11 lines
266 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @Filename: foo.ts
2017-06-10 03:34:21 +02:00
//// export function /*Destination*/bar() { return "bar"; }
//// var x = import("./foo");
//// x.then(foo => {
2017-10-19 00:49:46 +02:00
//// foo.[|b/*1*/ar|]();
//// })
verify.goToDefinition("1", "Destination");