* Include export assignment properties when looking for module exports * Create new API function for tryGetMemberInModuleExportsAndProperties * Cleanup based on review feedback
16 lines
271 B
TypeScript
16 lines
271 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();`
|
|
]); |