TypeScript/tests/cases/fourslash/contextualTypingFromTypeAssertion1.ts

8 lines
191 B
TypeScript
Raw Normal View History

2014-10-07 20:30:27 +02:00
/// <reference path='fourslash.ts'/>
////var f3 = <(x: string) => string> function (/**/x) { return x.toLowerCase(); };
goTo.marker();
verify.quickInfoIs('(parameter) x: string');