-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove TParams type parameter in favor of Record<string, string>
Having TParams as type parameter assignable to Record<string, string> with default Record<string, string> causes issues when passing specific params since an interface with specific keys is not assignable to a Record which can have any key: Index signature is missing in type 'ParamsInterface'. So, for now we will make `params` always be a Record<string, string>.
- Loading branch information
Showing
1 changed file
with
12 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