2016-12-29 00:04:15 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
2017-11-07 18:45:30 +01:00
|
|
|
// @AllowSyntheticDefaultImports: false
|
|
|
|
// @Module: es2015
|
|
|
|
|
2016-12-29 00:04:15 +01:00
|
|
|
// @Filename: a/f1.ts
|
|
|
|
//// [|export function test() { };
|
|
|
|
//// bar1/*0*/.bar;|]
|
|
|
|
|
|
|
|
// @Filename: a/foo.d.ts
|
|
|
|
//// export declare function bar(): number;
|
|
|
|
//// export as namespace bar1;
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import * as bar1 from "./foo";
|
|
|
|
|
|
|
|
export function test() { };
|
|
|
|
bar1.bar;`
|
|
|
|
]);
|