Re: [whatwg/webidl] Is a function signature with a parameter type `(DOMString or Interface)` a footgun? (Issue #1604)

ljharb left a comment (whatwg/webidl#1604)

Echoing linus' comment - it's proven far better for DX to avoid coercion and throw rather than accept multiple kinds of things and try to guess at the user's intent.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1604#issuecomment-4928056021
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1604/4928056021@github.com>

Received on Thursday, 9 July 2026 17:57:45 UTC