forked fromvuejs/vue
- Notifications
You must be signed in to change notification settings - Fork0
Commit7644380
Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined (vuejs#8946)
* fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks* fix(types): Fix tests* fix(types): declare $slots option as potentially undefineddeclare $slots option as potentially undefined to enable stricter TS checks1 parent3cd4af4 commit7644380
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
| 307 | + | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments
Comments
(0)