TypeScript/tests/cases/fourslash/goToImplementationInterfaceProperty_01.ts

15 lines
349 B
TypeScript
Raw Normal View History

2016-08-22 22:57:40 +02:00
/// <reference path='fourslash.ts'/>
// Should handle property assignments within class declarations
//// interface Foo { hello: number }
////
//// class Bar implements Foo {
//// [|hello|] = 5 * 9;
2016-08-22 22:57:40 +02:00
//// }
////
//// function whatever(foo: Foo) {
//// foo.he/*reference*/llo;
//// }
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("reference");