2017-11-07 07:55:37 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
// @AllowSyntheticDefaultImports: false
|
2017-11-07 18:45:30 +01:00
|
|
|
// @Module: system
|
2017-11-07 07:55:37 +01:00
|
|
|
|
|
|
|
// @Filename: a/f1.ts
|
|
|
|
//// [|export var x = 0;
|
|
|
|
//// bar/*0*/();|]
|
|
|
|
|
|
|
|
// @Filename: a/foo.d.ts
|
|
|
|
//// declare function bar(): number;
|
|
|
|
//// export = bar;
|
|
|
|
//// export as namespace bar;
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import * as bar from "./foo";
|
|
|
|
|
|
|
|
export var x = 0;
|
|
|
|
bar();`
|
|
|
|
]);
|