mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 16:39:46 -05:00
Add analogous export test.
This commit is contained in:
16
tests/cases/fourslash/completionListInExportClause03.ts
Normal file
16
tests/cases/fourslash/completionListInExportClause03.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////declare module "M1" {
|
||||
//// export var abc: number;
|
||||
//// export var def: string;
|
||||
////}
|
||||
////
|
||||
////declare module "M2" {
|
||||
//// export { abc/**/ } from "M1";
|
||||
////}
|
||||
|
||||
// Ensure we don't filter out the current item.
|
||||
goTo.marker();
|
||||
verify.completionListContains("abc");
|
||||
verify.completionListContains("def");
|
||||
verify.not.completionListAllowsNewIdentifier();
|
||||
Reference in New Issue
Block a user