-
Notifications
You must be signed in to change notification settings - Fork 78
Commit 89fc08e
feat: add PartialClaudeCodeConfig type for better configuration handling (#115)
# Introduce PartialClaudeCodeConfig type for better type checking
This PR introduces a new `PartialClaudeCodeConfig` type that extends the existing `ClaudeCodeConfig` type. The type signature for the `setup` function and the dev-config have been updated to use this new type, which better represents that configuration options are partial and can be overridden.
This change improves type checking and makes it clearer that the configuration passed to `setup()` doesn't need to include all possible options.1 parent bcde80a commit 89fc08e
3 files changed
+4
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | - | ||
43 | + | ||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 | - | ||
290 | + | ||
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 | + | ||
111 | + | ||
110 | 112 |
| |
111 | 113 |
| |
112 | 114 |
| |
|
0 commit comments