mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 05:41:22 -06:00
add tests
This commit is contained in:
parent
14f6bf2244
commit
f20a330677
@ -0,0 +1,13 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
//// [|f1/*0*/();|]
|
||||
|
||||
// @Filename: node_modules/@types/myLib/index.d.ts
|
||||
//// export function f1() {}
|
||||
//// export var v1 = 5;
|
||||
|
||||
verify.importFixAtPosition([
|
||||
`import { f1 } from "myLib";
|
||||
|
||||
f1();`
|
||||
]);
|
||||
@ -0,0 +1,13 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
//// [|f1/*0*/();|]
|
||||
|
||||
// @Filename: node_modules/@types/myLib__scoped/index.d.ts
|
||||
//// export function f1() {}
|
||||
//// export var v1 = 5;
|
||||
|
||||
verify.importFixAtPosition([
|
||||
`import { f1 } from "@myLib/scoped";
|
||||
|
||||
f1();`
|
||||
]);
|
||||
Loading…
x
Reference in New Issue
Block a user