function f<T extends { a, b }>(x: T) {
let { a, b, ...rest } = x;
}
Today, we type rest as Pick<T, Exclude<keyof T, "a" | "b">>. We should try to type this as Omit<T, "a" | "b"> if Omit is defined.
Hi @sandersn,
Can I take this? I like to contribute.
Thank you
Sure, go ahead! Start by looking at let deferredGlobalPickSymbol in checker.ts, and see where and how it's used.
@sandersn ,
Thank you so much. I鈥檒l start to work on this from today itself.
Thank you so much.
Most helpful comment
Hi @sandersn,
Can I take this? I like to contribute.
Thank you