14 lines
510 B
TypeScript
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");
|