Is there a way to define "nullable" types for magic SQL?

For example sql<number | null>...? It seems that you can't pass a union like that, but you can pass a type that you define as type NumOrNull = number | null, but when looking at the type hints of my return value it still shows just number. Not a really important question at this point - just thought I'd ask! :)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server