You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type declarations do not work in yarn workspaces, even when types are installed both in workspace's package.json and root's package.json. This is true for both tsc and tsserver. See example repo here - https://github.com/sushruth/yarn-workspaces-ts-bug
This is how the error looks -
Somehow compile and declaration emit succeeds but the above error is shown.
To reproduce
NA
Environment
`envinfo` breaks on windows 11 (since `wmic` cli is no longer present). Could not collect this information.
Additional context
No response
The text was updated successfully, but these errors were encountered:
sushruth
changed the title
[Bug?]: Typescript-patch cannot resolve workspace type declaration modules
[Bug]: Typescript-patch cannot resolve workspace type declaration modules
Nov 22, 2021
sushruth
changed the title
[Bug]: Typescript-patch cannot resolve workspace type declaration modules
[Bug]: Typescript-patch cannot resolve workspace type declarations
Nov 22, 2021
sushruth
changed the title
[Bug]: Typescript-patch cannot resolve workspace type declarations
[Bug]: Typescript-patch cannot resolve type declarations inside workspaces
Nov 22, 2021
Self-service
Describe the bug
Type declarations do not work in yarn workspaces, even when types are installed both in workspace's
package.json
and root'spackage.json
. This is true for both tsc and tsserver. See example repo here - https://github.com/sushruth/yarn-workspaces-ts-bugThis is how the error looks -
Somehow compile and declaration emit succeeds but the above error is shown.
To reproduce
NA
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: