TypeScript/tests/cases/fourslash/contextualTypingReturnExpressions.ts

11 lines
238 B
TypeScript
Raw Normal View History

2014-10-07 20:30:27 +02:00
/// <reference path='fourslash.ts'/>
////interface A { }
////var f44: (x: A) => (y: A) => A = /*1*/x => /*2*/y => /*3*/x;
2016-09-09 18:02:55 +02:00
verify.quickInfos({
1: "(parameter) x: A",
2: "(parameter) y: A",
3: "(parameter) x: A"
});