8515f7e2b5
* Also always test for isWriteAccess and isDefinition
15 lines
391 B
TypeScript
15 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");
|