TypeScript/tests/cases/compiler/defaultValueInFunctionTypes.ts

2 lines
80 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
var x: (a: number = 1) => number;
var y = <(a : string = "") => any>(undefined)