27 lines
768 B
TypeScript
27 lines
768 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// class A {[|
|
|
//// |]constructor() {
|
|
//// this.foo1(1,2,3);
|
|
//// // 7 type args
|
|
//// this.foo2<1,2,3,4,5,6,7>();
|
|
//// // 8 type args
|
|
//// this.foo3<1,2,3,4,5,6,7,8>();
|
|
//// }
|
|
//// }
|
|
|
|
verify.getAndApplyCodeFix(/*errorCode*/undefined, 0);
|
|
verify.getAndApplyCodeFix(/*errorCode*/undefined, 0);
|
|
verify.getAndApplyCodeFix(/*errorCode*/undefined, 0);
|
|
|
|
verify.rangeIs(`
|
|
foo3<T0, T1, T2, T3, T4, T5, T6, T7>(): any {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
foo2<T, U, V, W, X, Y, Z>(): any {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
foo1(arg0: any, arg1: any, arg2: any): any {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
`); |