TypeScript/tests/cases/fourslash/importNameCodeFixNewImportFile5.ts
Andy 94ea38859b
Disable import fix for method of 'export =' value (#20208)
* Disable import fix for method of 'export =' value

* Exclude primitives, but allow other interfaces

* Use type.flags

* Fix comment
2017-11-28 17:46:06 -05:00

17 lines
274 B
TypeScript

/// <reference path="fourslash.ts" />
//// [|bar/*0*/();|]
// @Filename: foo.ts
//// interface MyStatic {
//// bar(): void;
//// }
//// declare var x: MyStatic;
//// export = x;
-verify.importFixAtPosition([
`import { bar } from "./foo";
bar();`
]);