TypeScript/tests/cases/fourslash/completionsNewTarget.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

16 lines
349 B
TypeScript

/// <reference path='fourslash.ts' />
////class C {
//// constructor() {
//// if (C === new./*1*/)
//// }
////}
////class D {
//// constructor() {
//// if (D === new.target./*2*/)
//// }
////}
verify.completions({ marker: "1", exact: "target" });
verify.completions({ marker: "2", excludes: ["target"] });