So I took some time to refresh the Typescript version (3.4.5) on the long-awaited updates-typescript branch in the hopes that it would have better compatibility with storybook (kind of a long shot since I have no idea yet how storybook works).
I got it to a point where I can run lerna bootstrap && lerna build and only have errors in website_ts and website (i.e. react-axis and react-timeseries-charts compiles fine). Since I don't quite know which one is being worked on more, I decided to stop here and ask for your comments.
Quick summary:
Update typescript to 3.4.5. There were quite a lot of downstream issues as a result of this update (mostly incompatibilities in typing), but luckily I didn't have to change much of the code to make it work, and most of the changes are in package.json file.
So I took some time to refresh the Typescript version (3.4.5) on the long-awaited
updates-typescript
branch in the hopes that it would have better compatibility withstorybook
(kind of a long shot since I have no idea yet howstorybook
works).I got it to a point where I can run
lerna bootstrap && lerna build
and only have errors inwebsite_ts
andwebsite
(i.e.react-axis
andreact-timeseries-charts
compiles fine). Since I don't quite know which one is being worked on more, I decided to stop here and ask for your comments.Quick summary:
package.json
file.website_ts
to make React typings work (previously it was failing with this error)website_ts
.Hope it helps a bit, and would be great if you could try it out. Let me know if you have any comments or questions. :)