TypeScript/tests/cases/fourslash/getOccurrencesConstructor.ts
2017-01-18 13:55:31 -08:00

27 lines
614 B
TypeScript

/// <reference path='fourslash.ts' />
////class C {
//// [|const/**/ructor|]();
//// [|constructor|](x: number);
//// [|constructor|](y: string, x: number);
//// [|constructor|](a?: any, ...r: any[]) {
//// if (a === undefined && r.length === 0) {
//// return;
//// }
////
//// return;
//// }
////}
////
////class D {
//// constructor(public x: number, public y: number) {
//// }
////}
verify.rangesAreOccurrences(false);
goTo.marker();
for (const range of test.ranges()) {
verify.occurrencesAtPositionContains(range, false);
}