Skip to content
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

Unresolve variable or method #61

Open
Katiushin opened this issue Sep 2, 2023 · 1 comment
Open

Unresolve variable or method #61

Katiushin opened this issue Sep 2, 2023 · 1 comment

Comments

@Katiushin
Copy link

All types defined through /// must be manually specified in tsconfig, otherwise WebStorm throws an warning Unresolve variable or method

tsconfig
"files": [
"node_modules/@ragempcommunity/types-client/game.d.ts",
"node_modules/@ragempcommunity/types-client/game/cam.d.ts",
"node_modules/@ragempcommunity/types-client/game/graphics.d.ts"
etc...
],

@test137E29B
Copy link
Member

@Katiushin any update on this one, doesn't appear to be a problem in VSCode for example - so potentially a WebStorm specific problem and out of scope of this project - unless there's a simple generic fix that doesn't require adding every file to the tsconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants