Commit 610fdd3
RBS: Narrow type signatures for props parameters
Improve type precision for props parameters in RBS signatures by
changing from `untyped` to `Hash[Symbol, untyped] | String`.
This change:
- Provides better type checking for props parameters
- Accepts both common formats (Hash or JSON string)
- Improves IDE support and autocomplete
- Helps catch type errors earlier
Updated signatures:
- helper.rbs: sanitized_props_string props parameter
- controller.rbs: redux_store props parameter
Fixes #1951
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 0364781 commit 610fdd3
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments