mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Add new go to def test
This commit is contained in:
parent
41b7eb25a3
commit
e2b02c6bdd
@ -0,0 +1,17 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////interface Number {
|
||||
//// /*definition*/myObjectMethod(): number;
|
||||
////}
|
||||
////
|
||||
////var o = 0;
|
||||
////o./*reference1*/myObjectMethod();
|
||||
////o["/*reference2*/myObjectMethod"]();
|
||||
|
||||
goTo.marker("reference1");
|
||||
goTo.definition();
|
||||
verify.caretAtMarker("definition");
|
||||
|
||||
goTo.marker("reference2");
|
||||
goTo.definition();
|
||||
verify.caretAtMarker("definition");
|
||||
Loading…
x
Reference in New Issue
Block a user