TypeScript/tests/cases/fourslash/findAllRefsPropertyContextuallyTypedByTypeParam01.ts
2016-06-15 09:05:15 -07:00

20 lines
356 B
TypeScript

/// <reference path="./fourslash.ts" />
////interface IFoo {
//// [|a|]: string;
////}
////class C<T extends IFoo> {
//// method() {
//// var x: T = {
//// [|a|]: ""
//// };
//// x.[|a|];
//// }
////}
////
////
////var x: IFoo = {
//// [|a|]: "ss"
////};
verify.rangesReferenceEachOther();