Commit 6abd0d3
committed
fix(examples): null-safe $refs access in DialogRef typed fixture (LB6 SEAM 1)
Optional-chain $refs.dlg so the ref-may-be-null narrowing holds under the
Solid typed gate's strictNullChecks (TS18047). The `.showModal()`/`.close()`
RED proof (TS2339 on HTMLElement pre-fix) is unaffected.1 parent 4d269e8 commit 6abd0d3
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments