anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.15k stars 557 forks source link

typescript errors #148

Closed hariseldon78 closed 5 years ago

hariseldon78 commented 5 years ago

In the last versions the "default class" declarations problem is solved, but there is still this error:

🍀  tsc
node_modules/technicalindicators/declarations/generated.d.ts(3,10): error TS2323: Cannot redeclare exported variable 'FixedSizeLinkedList'.
node_modules/technicalindicators/declarations/generated.d.ts(3,10): error TS2484: Export declaration conflicts with exported declaration of 'FixedSizeLinkedList'.
node_modules/technicalindicators/declarations/generated.d.ts(8,14): error TS2323: Cannot redeclare exported variable 'FixedSizeLinkedList'.

it can be solved by removing line 3 export { FixedSizeLinkedList };

anandanand84 commented 5 years ago

I'll take a look

anandanand84 commented 5 years ago

It is fixed manually