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(hubble): TypeScript type error with clearInterval in Node.js environment #2099

Open
hiroyukikumazawa opened this issue Jun 26, 2024 · 0 comments
Labels
s-triage Needs to be reviewed, designed and prioritized

Comments

@hiroyukikumazawa
Copy link

hiroyukikumazawa commented Jun 26, 2024

What is the bug?
during build, typeScript raises the following type error:

No overload matches this call.
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error:
Argument of type 'Timer | undefined' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Type 'Timer' is not assignable to type 'string | number | Timeout | undefined'.
Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
Overload 2 of 2, '(id: number | undefined): void', gave the following error:
Argument of type 'Timer | undefined' is not assignable to parameter of type 'number | undefined'.
Type 'Timer' is not assignable to type 'number'.ts(2769)
@github-actions github-actions bot added the s-triage Needs to be reviewed, designed and prioritized label Jun 26, 2024
hiroyukikumazawa added a commit to hiroyukikumazawa/hub-monorepo that referenced this issue Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s-triage Needs to be reviewed, designed and prioritized
Projects
None yet
Development

No branches or pull requests

1 participant