Commit 79cfc6f
committed
test(css): type-safe cast in non-rule declarations/childRules test
The reader accessors `declarations` / `childRules` are typed on rule
nodes; cast the function component value through the rule type so
`tsconfig.types.test` type-checks the null-read assertion.1 parent adf6548 commit 79cfc6f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| |||
0 commit comments