Building an application with angular 11 and angular-tree-component in its dependencies gives the following error:
Error: node_modules/@circlon/angular-tree-component/node_modules/mobx/lib/types/observableset.d.ts:21:22 - error TS2420: Class 'ObservableSet<T>' incorrectly implements interface 'Set<T>'.
Property 'toJSON' is missing in type 'ObservableSet<T>' but required in type 'Set<T>'.
21 export declare class ObservableSet<T = any> implements Set<T>, IInterceptable<ISetWillChange>, IListenable {
~~~~~~~~~~~~~
node_modules/@types/core-js/index.d.ts:78:5
78 toJSON(): any;
~~~~~~~~~~~~~~
'toJSON' is declared here.
Expected behavior:
The library builds without errors.
Versions of Angular Tree Component, Angular, Node, affected browser(s) and operating system(s):
Building an application with angular 11 and angular-tree-component in its dependencies gives the following error:
Expected behavior:
The library builds without errors.
Versions of Angular Tree Component, Angular, Node, affected browser(s) and operating system(s):