TypeScript/tests/cases/fourslash/completionImportMeta.ts
Sheon Han 96e8fbc657 Fix for issue #32528: Prevent meta property from appearing twice (#35844)
* fix meta property from appearing twice

* handle case where ImportMeta has props defined

* rename file

* use exclude instead of exact

* undo comment

* this file should have no change

* change file name back

* add more test cases

* remove comment and text validation

* fix formatting
2020-01-17 13:56:50 -08:00

26 lines
341 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: a.ts
////import./*1*/
// @Filename: b.ts
////import.meta./*2*/
// @Filename: c.ts
////import./*3*/meta
verify.completions(
{
marker: "1",
exact: "meta"
},
{
marker: "2",
exact: undefined
},
{
marker: "3",
exact: "meta"
}
);