TypeScript/tests/cases/fourslash/goToDefinitionConstructorOfClassWhenClassIsPrecededByNamespace01.ts

15 lines
260 B
TypeScript
Raw Normal View History

2015-08-27 00:48:49 +02:00
/// <reference path='fourslash.ts' />
////namespace Foo {
//// export var x;
////}
////
////class Foo {
//// /*definition*/constructor() {
//// }
////}
////
////var x = new /*usage*/Foo();
2016-08-29 22:34:32 +02:00
verify.goToDefinition("usage", "definition");