* WIP * Promote existing type-only imports to regular if needed * Add completions test adding to type-only import * Update tests, revert whole-import-clause replacement codefix strategy to preserve import specifier formatting * Revert unnecessary changes * Delete unused function * }
15 lines
261 B
TypeScript
15 lines
261 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// [|let t: XXX/*0*/.I;|]
|
|
|
|
// @Filename: ./module.ts
|
|
//// export module XXX {
|
|
//// export interface I {
|
|
//// }
|
|
//// }
|
|
|
|
verify.importFixAtPosition([
|
|
`import { XXX } from "./module";
|
|
|
|
let t: XXX.I;`
|
|
]); |