fix(types): scrip-setup+ts: ensure proper handling of null
as default prop value. (#4979)
fix #4868
This commit is contained in:
parent
d145128ab4
commit
f2d2d7b2d2
@ -131,6 +131,7 @@ type InferDefaults<T> = {
|
||||
}
|
||||
|
||||
type InferDefault<P, T> = T extends
|
||||
| null
|
||||
| number
|
||||
| string
|
||||
| boolean
|
||||
|
Loading…
Reference in New Issue
Block a user