TypeScript/tests/cases/fourslash/goToDefinitionApparentTypeProperties.ts

12 lines
302 B
TypeScript
Raw Normal View History

2014-08-02 02:12:00 +02:00
/// <reference path='fourslash.ts' />
////interface Number {
//// /*definition*/myObjectMethod(): number;
////}
////
////var o = 0;
2017-10-19 00:49:46 +02:00
////o.[|/*reference1*/myObjectMethod|]();
////o[[|"/*reference2*/myObjectMethod"|]]();
2014-08-02 02:12:00 +02:00
2016-08-29 22:34:32 +02:00
verify.goToDefinition(["reference1", "reference2"], "definition");