Skip to content

Conversation

@karlseguin
Copy link
Collaborator

Some apis want a value or undefined. For these, we can't use an Optional return type, null maps to JS null. Adds an Env.UndefinedOr(T) generic union for such return types.

Some apis want a value or undefined. For these, we can't use an Optional
return type, null maps to JS null. Adds an Env.UndefinedOr(T) generic
union for such return types.
@karlseguin karlseguin merged commit c52d33e into main Jun 28, 2025
10 checks passed
@karlseguin karlseguin deleted the undefined_or branch June 28, 2025 01:09
@github-actions github-actions bot locked and limited conversation to collaborators Jun 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants