[BUG]: Typechecking fails for external code with exactOptionalPropertyTypes: true (original) (raw)

What happened?

When typescript is used with the option exactOptionalPropertyTypes: true, most code that consumes this library fails to typecheck if undefined is passed in for the response value.

All optional properties must have explicit | undefined in their type definitions.

Versions

all

Relevant log output

No response

Code of Conduct