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

Bug: set-interval-async typings are missing #450

Closed
LastSandwich opened this issue Mar 29, 2021 · 0 comments
Closed

Bug: set-interval-async typings are missing #450

LastSandwich opened this issue Mar 29, 2021 · 0 comments
Labels
Bug Something not working as it should or even going terribly wrong

Comments

@LastSandwich
Copy link

The bug

Typings for set-interval-async are not installed and the npm run build fails

src/Client.ts(4,54): error TS7016: Could not find a declaration file for module 'set-interval-async/dynamic'. 'C:/src/JSPrismarine/packages/client/node_modules/set-interval-async/dynamic/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/set-interval-async` if it exists or add a new declaration (.d.ts) file containing `declare module 'set-interval-async/dynamic';`

To Reproduce

  1. Clone the repo https://github.com/JSPrismarine/JSPrismarine.git.
  2. npm i
  3. lerna bootstrap
  4. npm run build

Expected behavior
Build should complete successfully

Additional
Definitely Typed typings exist for version 1 of set-interval-async and appears to be compatible.
I added "@types/set-interval-async": "^1.0.0" to package.json of src\packages\client and the project now builds.

@LastSandwich LastSandwich added the Bug Something not working as it should or even going terribly wrong label Mar 29, 2021
@LastSandwich LastSandwich changed the title Bug: Bug: set-interval-async typings are missing Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something not working as it should or even going terribly wrong
Projects
None yet
Development

No branches or pull requests

1 participant