index.d.ts not recognised in "packages/*" when running tsc in "apps/web" folder #8791
Unanswered
tomitrescak
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello community! I kindly ask for your help. When I compile my
packages/*
withtsc
all runs well. But when I runtsc
in myapps/web
project it returns compilation errors from packages, related to reference stored in index.d.ts in individual packages.For example I have several:
in
packages/foo/src/index.d.ts
These are correctly processed by tsc in individual packages, but raise compilation errors such as
The easiest way to solve this is to add new "packages.d.ts" to the
apps/web
folder and coppy out all the information from individual .d.ts files there, but that feel dirty.Any idea?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions