We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to add some typings for an untyped module in the server. (@sabaki/deadstones, here's the branch where it's failing)
@sabaki/deadstones
error TS7016: Could not find a declaration file for module '@sabaki/deadstones'.
server/custom_typings/@sabaki/deadstones.d.ts
server/.hathora/custom_typings
"typeRoots": ["./node_modules/@types", "./custom_typings"]
server/tsconfig.json
"strict": false
server/.hathora/tsconfig.json
Nothing seems to be working. Still fairly new to Typescript so may be missing something.
The text was updated successfully, but these errors were encountered:
Try adding this to impl.ts:
/// <reference types="./custom_typings/@sabaki/deadstones" />
I got that from TypeStrong/ts-node#782 (comment)
Sorry, something went wrong.
Thanks for the suggestion. I just tried it but it gives the same error. I also modified templates/base/server/.hathora/tsconfig.json.hbs with:
templates/base/server/.hathora/tsconfig.json.hbs
"typeRoots": ["./node_modules/@types", "../custom_typings"]
Hold on! I needed to move it to the top: kasbah/calm-go@311f7ee
No branches or pull requests
I'm trying to add some typings for an untyped module in the server. (
@sabaki/deadstones
, here's the branch where it's failing)server/custom_typings/@sabaki/deadstones.d.ts
server/.hathora/custom_typings
"typeRoots": ["./node_modules/@types", "./custom_typings"]
toserver/tsconfig.json
"strict": false
inserver/tsconfig.json
(it doesn't actually even seem to propagate toserver/.hathora/tsconfig.json
?)Nothing seems to be working. Still fairly new to Typescript so may be missing something.
The text was updated successfully, but these errors were encountered: