Closed leviathan-n closed 2 years ago
F.defaultTo(1, 2) // got 1
but the type definition is that
/** Returns a default value if `value` is nullable. */ export declare function defaultTo<T>(defaultValue: NonNullable<T>, value: T | null | undefined): NonNullable<T>;
version: 3.11.0
@leviathan-n oops, sorry, clearly my mistake 🙈 fixed in v3.12.0
v3.12.0
but the type definition is that
version: 3.11.0