Skip to content

Conversation

@snowsignal
Copy link
Contributor

() is represented as null instead of undefined - this also applies to unit enum variants.

Fixes #43.

Copy link

@lazgilebits lazgilebits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirming all of the newly generated code is valid TypeScript 👍

Approved!

@LuminaSapphira
Copy link
Collaborator

LGTM!

@snowsignal snowsignal merged commit 07e6220 into main Mar 23, 2023
@snowsignal snowsignal deleted the jane/undefined-to-null branch March 23, 2023 20:07
LuminaSapphira pushed a commit that referenced this pull request Apr 13, 2023
This reverts commit 07e6220, reversing
changes made to 3d7aa59.

Fixes #96.
LuminaSapphira pushed a commit that referenced this pull request Apr 13, 2023
LuminaSapphira pushed a commit that referenced this pull request Apr 13, 2023
Revert "Merge pull request #82 from 1Password/jane/undefined-to-null"
LuminaSapphira pushed a commit that referenced this pull request Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typescript: unit seems to be wrongly defined as undefined in Typescript

4 participants