TypeScript/tests/cases/fourslash/contextualTypingOfGenericCallSignatures1.ts
2014-10-07 11:30:27 -07:00

12 lines
235 B
TypeScript

/// <reference path='fourslash.ts'/>
////var f24: {
//// <T, U>(x: T): U
////};
////// x should not be contextually typed
////var f24 = (/**/x) => { return 1 };
goTo.marker();
verify.quickInfoIs('(parameter) x: any');