We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-toolbelt
With TypeScript 5.7.2 and Mermaid 11.4.1 (that embed Ramda), I get the following error when compiling:
node_modules/@types/ramda/index.d.ts:1816:14 - error TS2589: Type instantiation is excessively deep and possibly infinite. 1816 ): _.F.Curry<(...args: _.T.Merge<[P[1], P[0]], P>) => _.F.Return<F>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:4440:12 - error TS2589: Type instantiation is excessively deep and possibly infinite. 4440 0: __Assign<Merge<Os[Pos<I>], O, depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:4440:21 - error TS2321: Excessive stack depth comparing types 'Merge<Os[Pos<I>], O, depth, style, noMerge>' and 'object'. 4440 0: __Assign<Merge<Os[Pos<I>], O, depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:5094:12 - error TS2589: Type instantiation is excessively deep and possibly infinite. 5094 0: __MergeAll<Merge<O, Os[Pos<I>], depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:5094:23 - error TS2321: Excessive stack depth comparing types 'Merge<O, Os[Pos<I>], depth, style, noMerge>' and 'object'. 5094 0: __MergeAll<Merge<O, Os[Pos<I>], depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:5286:12 - error TS2589: Type instantiation is excessively deep and possibly infinite. 5286 0: __PatchAll<Patch<O, Os[Pos<I>], depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/ts-toolbelt/out/index.d.ts:5286:23 - error TS2321: Excessive stack depth comparing types 'Patch<O, Os[Pos<I>], depth, style, noMerge>' and 'object'. 5286 0: __PatchAll<Patch<O, Os[Pos<I>], depth, style, noMerge>, Os, depth, style, noMerge, Next<I>>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Found 7 errors in 2 files. Errors Files 1 node_modules/@types/ramda/index.d.ts:1816 6 node_modules/ts-toolbelt/out/index.d.ts:4440
Connected: ramda/types#134
The text was updated successfully, but these errors were encountered:
Got the same error, but only on Linux/Ubuntu. Not on Windows.
Fixed it so far by adding an overrides for Mermaid to version v11.0.2 and v11.2.1 for mermaid-cli. Not sure, if there is a better solution.
overrides
Sorry, something went wrong.
No branches or pull requests
With TypeScript 5.7.2 and Mermaid 11.4.1 (that embed Ramda), I get the following error when compiling:
Connected: ramda/types#134
The text was updated successfully, but these errors were encountered: