2015-03-17 08:05:34 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
////interface I<TString, TNumber> {
|
|
|
|
//// [s: string]: TString;
|
|
|
|
//// [s: number]: TNumber;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////declare function foo<TString, TNumber>(obj: I<TString, TNumber>): { str: TStr/*1*/ }
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: "1", includes: ["I", "TString", "TNumber"], excludes: ["foo", "obj"] });
|