- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 19 Aug 2020 06:26:55 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 19 August 2020 13:27:08 UTC
It's possible that the needs of TypeScript and Web IDL diverge, and that's OK. Web IDL intends to model JavaScript, where functions that don't return anything, return `undefined`. There is no distinction in JavaScript between functions that "actually _don't_ return anything" vs. "returning `undefined`", and so we won't make such a distinction in Web IDL. -- 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-676355310
Received on Wednesday, 19 August 2020 13:27:08 UTC