TypeScript/tests/cases/fourslash/contextualTypingOfGenericCallSignatures1.ts

11 lines
223 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////var f24: {
//// <T, U>(x: T): U
////};
////// x should not be contextually typed
2014-10-07 20:30:27 +02:00
////var f24 = (/**/x) => { return 1 };
2014-07-13 01:04:16 +02:00
2016-09-09 18:02:55 +02:00
verify.quickInfoAt("", "(parameter) x: any");
2014-07-13 01:04:16 +02:00