Closed Exelord closed 2 years ago
I noticed many times I found components returning explicitly undefined to satisfy Element type:
undefined
export function MyComponent() { // .... return undefined; }
I'm wondering if we could allow on void type as well, allowing components to not return anything and still be treated as undefined.
void
I noticed many times I found components returning explicitly
undefined
to satisfy Element type:I'm wondering if we could allow on
void
type as well, allowing components to not return anything and still be treated asundefined
.