17 lines
No EOL
430 B
TypeScript
17 lines
No EOL
430 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////class C<T> {
|
|
//// map(fn: (/*1*/k: string, /*2*/value: T, context: any) => void, context: any) {
|
|
//// }
|
|
////}
|
|
|
|
////var c: C<number>;
|
|
////c.map(/*3*/
|
|
|
|
verify.quickInfos({
|
|
1: "(parameter) k: string",
|
|
2: "(parameter) value: T"
|
|
});
|
|
|
|
goTo.marker('3');
|
|
verify.currentSignatureHelpIs('map(fn: (k: string, value: number, context: any) => void, context: any): void'); |