94ea38859b
* Disable import fix for method of 'export =' value * Exclude primitives, but allow other interfaces * Use type.flags * Fix comment
16 lines
274 B
TypeScript
16 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();`
|
|
]);
|