We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: nightly
Code
type HTML = { [K in 'div']: Block<HTML> } type Block<P> = <T>(func: HTML) => {} declare var h: HTML h.div(h)
Expected behavior:
Compile
Actual behavior:
Maximum call stack size exceeded at inferFromTypes
inferFromTypes
TypeScript Version: nightly
Code
Expected behavior:
Compile
Actual behavior:
Maximum call stack size exceeded at
inferFromTypes