Skip to content

Conversation

KhafraDev
Copy link
Member

…er view

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@KhafraDev KhafraDev marked this pull request as ready for review September 1, 2025 23:20
return webidl.converters.USVString(V)
}

return webidl.converters.BufferSource(V)
Copy link
Contributor

Choose a reason for hiding this comment

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

The only minor thing with this approach is that the failure message on passing an invalid type will only list ArrayBuffer and ArrayBufferView as valid types, not DOMString.

@KhafraDev KhafraDev merged commit 8c152d2 into nodejs:main Sep 2, 2025
29 of 30 checks passed
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

Successfully merging this pull request may close these issues.

4 participants