react-workspaces / react-workspaces-playground

⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
https://react-workspaces.github.io/react-workspaces-playground/
764 stars 128 forks source link

Unable to consume typescript classes in components-typescript #39

Closed RamWebDev closed 4 years ago

RamWebDev commented 4 years ago

I have a typescript class called "HelloWorld.ts" added to "components-typescript" project under "components-typescript/src/library" folder "HelloWorld.ts" file is attached

HelloWorld.txt

And I have getting below mentioned error TypeScriptError

Please let me know if you need any more details. @F1LT3R , @PaulRBerg , @jmyrland

keshikashviligio commented 4 years ago

I have a typescript class called "HelloWorld.ts" added to "components-typescript" project under "components-typescript/src/library" folder "HelloWorld.ts" file is attached

HelloWorld.txt

And I have getting below mentioned error TypeScriptError

Please let me know if you need any more details. @F1LT3R , @PaulRBerg , @jmyrland

Paste this: EXTEND_ESLINT=true variable in app-typescript .env file, if you don't have .env created and restart app

RamWebDev commented 4 years ago

Thanks @keshikashviligio . It works with the changes you suggested. Same has to be done for storybook-typescript as well