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

script/build not running on TypeScript 4.9.3 #45

Closed
makermelissa opened this issue Nov 21, 2022 · 1 comment
Closed

script/build not running on TypeScript 4.9.3 #45

makermelissa opened this issue Nov 21, 2022 · 1 comment

Comments

@makermelissa
Copy link
Contributor

See error log from #44. It seems to be related to using TypeScript 4.9.

Error: node_modules/@types/node/globals.d.ts(341,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.
Error: Process completed with exit code 2.

According to microsoft/TypeScript#51567, a little housekeeping may be all that is required.

@makermelissa
Copy link
Contributor Author

Fixed via #56.

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

1 participant