Skip to content

Emit | undefined for optional fields#1347

Closed
Zaczero wants to merge 1 commit intobufbuild:mainfrom
Zaczero:zaczero/essential-tarantula
Closed

Emit | undefined for optional fields#1347
Zaczero wants to merge 1 commit intobufbuild:mainfrom
Zaczero:zaczero/essential-tarantula

Conversation

@Zaczero
Copy link

@Zaczero Zaczero commented Jan 31, 2026

marking types as ?: (optional) does not let them be assigned undefined in stricter environments like with https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes

@CLAassistant
Copy link

CLAassistant commented Jan 31, 2026

CLA assistant check
All committers have signed the CLA.

@timostamm
Copy link
Member

Thanks for the PR, but we only support the default compiler settings, see #374 (comment) for details.

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.

3 participants