Commit 2c6182d
fix(flatpickr): apply the flatpickr() engine-call cast to angular
flatpickr's Options narrows mode/position/monthSelectorType to string-literal
unions, but the emitted props type them as plain string, so the inline options
literal fails the flatpickr(Node, Options) overload (TS2769). The codegen
already casts `flatpickr as any` at the call site for the vue leaf; angular —
now ngc/tsc-compiled under the dist+source standard — hits the same error, so
add the parallel cast for its signal/ElementRef call form. Unblocks the
flatpickr angular leaf; svelte still skips (svelte-package doesn't body-check).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KcWqckxMNtbU5LGEAvYXEk1 parent 8155733 commit 2c6182d
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
274 | 288 | | |
275 | 289 | | |
276 | 290 | | |
| |||
0 commit comments