TypeScript/tests/cases/fourslash/goToImplementationInterface_06.ts
2016-09-13 17:33:49 -07:00

14 lines
431 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should go to class expressions that implement a constructor type
//// interface Fo/*interface_definition*/o {
//// new (a: number): SomeOtherType;
//// }
////
//// interface SomeOtherType {}
////
//// let x: Foo = [|class { constructor (a: number) {} }|];
//// let y = <Foo> [|class { constructor (a: number) {} }|];
verify.allRangesAppearInImplementationList("interface_definition");