-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some imported modules are missing type declarations #173
Comments
Hey, I tried this out on my laptop and I see:
I'm afraid it might be something wrong with your environment. You can try building the docker image which should confirm if it's environmental. |
True; I probably did something wrong when trying to check if it is reproduced with This is actually a |
Any package that is used by the project directly, should be installed as a direct dependency. This is not a pnpm issue. This works with npm and Yarn 1 only because they create a flat node_modules. This will not work with Yarn v2 and pnpm because they create a strict node_modules, which allows access only to the dependencies that are listed in package.json. There is a workaround to use |
Fixes matrix-org#173 Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>
Describe the bug
To Reproduce
Expected behavior
Packages with all required type declarations are provided in
package.json
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: