Closed
Description
Checklist
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
Based on the conversation I've had in the typescript repository so far, it seems that #240, which originates from the changes of #235, is best resolved by enabling the typescript option exactOptionalPropertyTypes
. By enabling this option, issues like #237 would already have been found by running the typescript compiler, which is done prior to every release of the code here.
Does anything speak against enabling this option, or is there a reason you would not like to do it?
Describe the ideal solution
Enable the typescript option exactOptionalPropertyTypes
and revert the changes done in #243.
Alternatives and current workarounds
Keep the changes done in #243 and leave exactOptionalPropertyTypes
disabled.