TypeScript/tests/cases/fourslash/completionsNewTarget.ts

16 lines
349 B
TypeScript
Raw Normal View History

/// <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"] });