We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4aa6a commit 54ec2f5Copy full SHA for 54ec2f5
src/build/patches.ts
@@ -22,6 +22,7 @@ type DeepPartial<T> = T extends object
22
interface OverridableMethod extends Omit<Method, "signature"> {
23
signature: DeepPartial<Signature>[] | Record<number, DeepPartial<Signature>>;
24
}
25
+
26
function optionalMember<const T>(prop: string, type: T, value?: Value) {
27
if (value === undefined) {
28
return {};
0 commit comments