Note
This is a generic issue template to raise awareness about exactOptionalPropertyTypes
support across TypeScript libraries.
This package's types are not fully compatible with TypeScript's exactOptionalPropertyTypes
compiler flag (tsconfig.json
).
With exactOptionalPropertyTypes: true
, optional properties behave differently — they can’t be assigned undefined
unless it's explicitly part of the type. Currently, this library's types treat optional properties as implicitly allowing undefined
, which causes type errors in strict setups.