Re: [heycam/webidl] add a type to represent the undefined value (#60)

I would prefer aligning on undefined as that's how JavaScript calls it and it would be annoying to have to talk about the void value in algorithm prose. It would also be more familiar for those new to IDL.

Although maybe someone knows the reason TypeScript has both void and undefined https://www.typescriptlang.org/docs/handbook/basic-types.html#void? If there's a good reason we might want to follow that.

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

Received on Tuesday, 4 August 2020 06:04:45 UTC