Open ghost opened 3 years ago
Hi!
In certain case scenarios, the environment will not load the typescript definition files (*.d.ts) from "l2js-client/dist" and subfolders.
As a temporal solution, the following can be added into the "tsconfig.json" of your project: "paths": {"*": ["./node_modules/l2js-client/"]}
"paths": {"*": ["./node_modules/l2js-client/"]}
As a global solution, the typescript definition files should be into it's own "@types/" npm package. @types/l2js-client
@types/l2js-client
So a normal installation would be:
npm install l2js-client npm install --save-dev @types/l2js-client
Please take it into consideration :)
Thanks!
Hi!
In certain case scenarios, the environment will not load the typescript definition files (*.d.ts) from "l2js-client/dist" and subfolders.
As a temporal solution, the following can be added into the "tsconfig.json" of your project:
"paths": {"*": ["./node_modules/l2js-client/"]}
As a global solution, the typescript definition files should be into it's own "@types/" npm package.
@types/l2js-client
So a normal installation would be:
Please take it into consideration :)
Thanks!