TypeScript/tests/cases/fourslash/referencesForIndexProperty3.ts
Andy Hanson 8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00

16 lines
391 B
TypeScript

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