2017-08-11 23:26:25 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
2017-08-12 00:31:09 +02:00
|
|
|
//// [|import m2 = require('./module2');
|
2017-08-11 23:26:25 +02:00
|
|
|
////
|
|
|
|
//// f1/*0*/();|]
|
|
|
|
|
2017-08-12 00:31:09 +02:00
|
|
|
// @Filename: module1.ts
|
2017-08-11 23:26:25 +02:00
|
|
|
//// export function f1() {}
|
|
|
|
|
|
|
|
// @Filename: module2.ts
|
|
|
|
//// export var v2 = 6;
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
2020-07-09 00:25:04 +02:00
|
|
|
`import { f1 } from './module1';
|
|
|
|
import m2 = require('./module2');
|
2017-08-11 23:26:25 +02:00
|
|
|
|
|
|
|
f1();`
|
|
|
|
]);
|