TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_11.ts

12 lines
346 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
// Should handle members of object literals in type assertion expressions
//// interface Foo {
//// hel/*reference*/lo(): void;
//// }
////
//// var x = <Foo> { [|hello|]: () => {} };
//// var y = <Foo> (((({ [|hello|]: () => {} }))));
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("reference");