Skip to content

fix: repair build-wasm npm script - #277

Merged
ShogunPanda merged 4 commits into
nodejs:mainfrom
Uzlopak:fix-build-wasm
Jan 30, 2024
Merged

fix: repair build-wasm npm script#277
ShogunPanda merged 4 commits into
nodejs:mainfrom
Uzlopak:fix-build-wasm

Conversation

@Uzlopak

Copy link
Copy Markdown
Contributor

while trying to improve llhttp for undici, it showed that building wasm is broken in main due to typescript typings issues.
This PR fixes them, so that we can run npm run build-wasm

@UzlopakUzlopak changed the title fix: repair build wasm npm scriptfix: repair build-wasm npm scriptJan 29, 2024

@ShogunPandaShogunPanda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would avoid having any here. What about Error or, if it is lacking code, something like type ErrorWithCode = Error & { code: string }?

@Uzlopak

Copy link
Copy Markdown
ContributorAuthor

@ShogunPanda
added a typeguard.

@ShogunPandaShogunPanda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Uzlopak

Copy link
Copy Markdown
ContributorAuthor

@ShogunPanda
the linting issue will be fixed in #278 and vice versa

@UzlopakUzlopak mentioned this pull request Jan 30, 2024
@ShogunPanda
ShogunPanda merged commit 64de8f1 into nodejs:mainJan 30, 2024
@Uzlopak
Uzlopak deleted the fix-build-wasm branch January 30, 2024 08:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Uzlopak@ShogunPanda