TypeScript/tests/cases/fourslash/completionListInIndexSignature02.ts
2017-01-18 13:55:31 -08:00

17 lines
327 B
TypeScript

/// <reference path='fourslash.ts' />
////interface I<T> {
//// [x: /*1*/]: T;
//// [: /*2*/]: T
////}
////
////class C {
//// [a: /*3*/]: string;
//// [str: string/*4*/]: number;
////}
////
////type T = {
//// [xyz: /*5*/
goTo.eachMarker(() => verify.not.completionListAllowsNewIdentifier());