TypeScript/tests/cases/fourslash/findAllRefsOfConstructor_withModifier.ts

10 lines
297 B
TypeScript
Raw Normal View History

2017-01-13 17:10:58 +01:00
/// <reference path="fourslash.ts" />
////class X {
//// [|public [|{| "contextRangeIndex": 0, "isDefinition": true |}constructor|]() {}|]
2017-01-13 17:10:58 +01:00
////}
////var x = new [|X|]();
2019-06-06 00:01:34 +02:00
const [rDef, ...ranges] = test.ranges();
verify.referenceGroups(ranges[0], [{ definition: "class X", ranges }]);