TypeScript/tests/cases/fourslash/goToDefinitionApparentTypeProperties.ts
2016-09-02 10:12:40 -07:00

12 lines
294 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");