mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Add test case for nested namespace
This commit is contained in:
parent
aa706d785b
commit
e532744f16
16
tests/cases/fourslash/importNameCodeFixNewImportFile4.ts
Normal file
16
tests/cases/fourslash/importNameCodeFixNewImportFile4.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
//// [|let t: A/*0*/.B.I;|]
|
||||
|
||||
// @Filename: ./module.ts
|
||||
//// export namespace A {
|
||||
//// export namespace B {
|
||||
//// export interface I { }
|
||||
//// }
|
||||
//// }
|
||||
|
||||
verify.importFixAtPosition([
|
||||
`import { A } from "./module";
|
||||
|
||||
let t: A.B.I;`
|
||||
]);
|
||||
Loading…
x
Reference in New Issue
Block a user