-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The option types wrongly declared `jsonSortOrder` as a required option, resulting in a type mismatch. If no `jsonSortOrder` was specified, it would be typed as `Record<..>` despite having the value `null`. This had no runtime functional impact but it was still wrong and confusing. The option parsing has been updated to better preserve type safety, and the types have been updated to differentiate pre-processed options, processed options, and options with defaults applied at runtime.
- Loading branch information
Showing
1 changed file
with
58 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters