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

16 lines
410 B
TypeScript

/// <reference path='fourslash.ts'/>
// References to a property of the apparent type using string indexer
////interface Object {
//// [|[|{| "isDefinition": true, "contextRangeIndex": 0 |}toMyString|]();|]
////}
////
////var y: Object;
////y.[|toMyString|]();
////
////var x = {};
////x["[|toMyString|]"]();
verify.singleReferenceGroup("(method) Object.toMyString(): any", "toMyString");