TypeScript/tests/cases/fourslash/goToDefinitionApparentTypeProperties.ts
2017-10-18 15:49:46 -07:00

12 lines
302 B
TypeScript

/// <reference path='fourslash.ts' />
////interface Number {
//// /*definition*/myObjectMethod(): number;
////}
////
////var o = 0;
////o.[|/*reference1*/myObjectMethod|]();
////o[[|"/*reference2*/myObjectMethod"|]]();
verify.goToDefinition(["reference1", "reference2"], "definition");