20 lines
490 B
TypeScript
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);
|
|
} |