Closed
Description
TypeScript Version: 3.4.0-dev.20190926
Search Terms:
Code
- clone https://github.com/falsandtru/typed-dom
- checkout 89f285b
- run
npm i
- change src/dom/proxy.ts as follows
- run
node_modules/.bin/tsc -p . --noEmit
- export interface Collection extends ReadonlyArray<El> { }
+ export type Collection = readonly El[];
Expected behavior:
no error
Actual behavior:
$ node_modules/.bin/tsc -p . --noEmit
...\typed-dom\node_modules\typescript\lib\tsc.js:76329
throw e;
^
RangeError: Maximum call stack size exceeded
at Object.some (...\typed-dom\node_modules\typescript\lib\tsc.js:668:18)
at couldUnionOrIntersectionContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38898:53)
at couldContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38894:65)
at Object.forEach (...\typed-dom\node_modules\typescript\lib\tsc.js:225:30)
at couldContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38891:39)
at Object.forEach (...\typed-dom\node_modules\typescript\lib\tsc.js:225:30)
at couldContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38891:39)
at Object.some (...\typed-dom\node_modules\typescript\lib\tsc.js:673:25)
at couldUnionOrIntersectionContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38898:53)
at couldContainTypeVariables (...\typed-dom\node_modules\typescript\lib\tsc.js:38894:65)
Playground Link:
Related Issues: