Commit 3a258f8
committed
fix: guard against GridStack.init() returning null in gridstack 13
gridstack 13's types widen GridStack.init()'s return type to include
null; add the corresponding early return before using the instance.1 parent 574eb18 commit 3a258f8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
0 commit comments