We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeScript Version: nightly (2.5.0-dev.20170801)
Code
const cb: () => void = (a = 0) => a; ((cb: () => void) => cb)((a = 0) => a);
Expected behavior:
a is number type.
a
number
Actual behavior:
a is any type.
any