Replies: 1 comment 2 replies
-
Lines 17 to 20 in a1349e9 Change to 👇 export function assign<X extends Record<string | symbol | number, any>>(
initial: X,
override?: X | null,
): X {} or export function assign<X extends Record<string | symbol | number, any>>(
initial?: X | null,
override?: X | null,
): X {} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think maybe we should allow the second parameter of the assign function to accept 'undefined' and 'null' just like
Object.assign
.Beta Was this translation helpful? Give feedback.
All reactions