TypeScript/tests/cases/fourslash/goToImplementationNamespace_00.ts
2016-09-09 15:18:49 -07:00

20 lines
490 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should handle namespace and module implementations
//// /*implementation0*/namespace Foo {
//// export function hello() {}
//// }
////
//// /*implementation1*/module Bar {
//// export function sure() {}
//// }
////
//// let x = Fo/*reference0*/o;
//// let y = Ba/*reference1*/r;
for (let i = 0; i < 2; i ++) {
goTo.marker("reference" + i);
goTo.implementation();
verify.caretAtMarker("implementation" + i);
}