-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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:4440lukeheslukeidolum
Metadata
Metadata
Assignees
Labels
No labels