Commit 8d83c38
Improve RBS signatures based on code review feedback
- Fix Utils module method signatures:
- Remove question mark from rails_version_less_than (matches actual implementation)
- Add missing public utility methods:
- react_on_rails_pro_version
- rsc_support_enabled?
- full_text_errors_enabled?
- smart_trim
- find_most_recent_mtime
- prepend_to_file_if_text_not_present
- detect_package_manager
- default_troubleshooting_section
- server_bundle_js_file_path
- source_path
- public_bundles_full_path
- generated_assets_full_path
- gem_available?
- Add missing Configuration private methods:
- rsc_bundle_js_file
- react_client_manifest_file
- react_server_client_manifest_file
These methods are used in ensure_webpack_generated_files_exists and other
parts of the codebase, so including them improves type coverage.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 2bd6a40 commit 8d83c38
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | | - | |
| 23 | + | |
16 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
17 | 29 | | |
18 | 30 | | |
19 | 31 | | |
| |||
0 commit comments