TypeScript/tests/cases/fourslash/importNameCodeFixNewImportExportEqualsPrimitive.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

10 lines
176 B
TypeScript

/// <reference path="fourslash.ts" />
////[|valueOf/*0*/();|]
// @Filename: foo.ts
////declare var x: number;
////export = x;
verify.not.codeFixAvailable(); // See GH#20191