Commit 72b6e25
fix(typescript): clarify input to
Narrowing the type of the parameter from `any` makes it obvious that the
input is an `Object`, rather than a `String`.
With the `any` type as input, it was not obvious how to use this
function.
See #524 and #624 for people bitten by this.parseIndex
1 parent 4e30d3e commit 72b6e25
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
0 commit comments