Commit 409a222
committed
refactor(types): simplify placeholderData type definition by removing NonFunctionGuard
This simplification is possible due to the introduction of generic runtime
utilities that handle value-or-function resolution. The new `resolveValueOrFunction()` utility handles the distinction between direct values and functions at runtime with proper type safety, eliminating the need for complex type-level guards.1 parent 2421a38 commit 409a222
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | 165 | | |
168 | 166 | | |
169 | 167 | | |
| |||
420 | 418 | | |
421 | 419 | | |
422 | 420 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
| 421 | + | |
| 422 | + | |
430 | 423 | | |
431 | 424 | | |
432 | 425 | | |
| |||
0 commit comments