Replies: 2 comments
-
There is a lot of "it depends" when it comes to getting something like this right. Could you give us a reproduction to work with? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing due to staleness. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I build a monorepo with
packages/tsconfig
, like what turbo does,However, what's difference, I add
"types"
field in"compilerOptions"
like this:and install
@tyoes/node
here, thenpackage.josn
looked like:It works well in dev, but if run
build
script of one of my app which extend that ts config file , it will break down with:Then I add
"@types/node"
to that app, thebuild
script run success again.Is it normal so I have to install
"@types/node"
in my every app, and add"types": ["@types/node"]
to their owntsconfig.json
, right?Beta Was this translation helpful? Give feedback.
All reactions