TypeScript/tests/cases/fourslash/referencesForInheritedProperties3.ts
2019-06-13 12:41:21 -07:00

14 lines
510 B
TypeScript

/// <reference path='fourslash.ts'/>
//// interface interface1 extends interface1 {
//// [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}doStuff|](): void;|]
//// [|[|{| "isDefinition": true, "contextRangeIndex": 2 |}propName|]: string;|]
//// }
////
//// var v: interface1;
//// v.[|propName|];
//// v.[|doStuff|]();
verify.singleReferenceGroup("(method) interface1.doStuff(): void", "doStuff");
verify.singleReferenceGroup("(property) interface1.propName: string", "propName");