Commit a8a5368
committed
Fix CustomCollectionCallbacks authorizePredicate type parameter
Changed `keyof TParam & string` to `TParam` in authorize callbacks.
Since TParam is now `string` instead of `Record<string, string>`,
`keyof TParam` would incorrectly resolve to string method names
like "toString", "charAt", etc.
This fixes type checking errors introduced when refactoring collection
dispatcher types from Record-based to string-based parameters.1 parent 7e49ab8 commit a8a5368
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | | - | |
| 1523 | + | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | 1526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
| 915 | + | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| |||
0 commit comments