- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 19 Aug 2020 02:02:45 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 19 August 2020 09:02:58 UTC
For a hypothetical `find()` method that sometimes returns undefined the type signature would be `(undefined or TODO) find(...)` and not just `undefined find(...)`. As discussed above that TypeScript has `void` is largely historical and its meaning (null or undefined) is not that useful. -- 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-675987966
Received on Wednesday, 19 August 2020 09:02:58 UTC