2016-11-17 01:01:16 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
2018-07-17 22:34:56 +02:00
|
|
|
////import * as ns from "./module";
|
|
|
|
////// Comment
|
|
|
|
////f1/*0*/();
|
2016-11-17 01:01:16 +01:00
|
|
|
|
|
|
|
// @Filename: module.ts
|
|
|
|
//// export function f1() {}
|
|
|
|
//// export var v1 = 5;
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import * as ns from "./module";
|
2018-07-17 22:34:56 +02:00
|
|
|
// Comment
|
2018-01-25 00:06:52 +01:00
|
|
|
ns.f1();`,
|
|
|
|
`import * as ns from "./module";
|
2016-11-17 01:01:16 +01:00
|
|
|
import { f1 } from "./module";
|
2018-07-17 22:34:56 +02:00
|
|
|
// Comment
|
2016-11-17 01:01:16 +01:00
|
|
|
f1();`,
|
2017-05-01 20:42:22 +02:00
|
|
|
]);
|