here and in other places, those were added by DT maintainer to provide better interop with TS projects using exact optional property setting:  https://www.typescriptlang.org/tsconfig#exactOptionalPropertyTypes  Those are optional in props:  https://github.com/schiehll/react-alert/blob/master/src/Provider.js#L176  this is optional