20 lines
356 B
TypeScript
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();
|