MCPcopy
hub / github.com/di-sukharev/opencommit / extend

Method extend

out/cli.cjs:31332–31340  ·  view source on GitHub ↗
(augmentation)

Source from the content-addressed store, hash-verified

31330 // }) as any;
31331 // };
31332 extend(augmentation) {
31333 return new _ZodObject({
31334 ...this._def,
31335 shape: () => ({
31336 ...this._def.shape(),
31337 ...augmentation
31338 })
31339 });
31340 }
31341 /**
31342 * Prior to zod@1.0.12 there was a bug in the
31343 * inferred type of merged objects. Please

Callers 3

createInstanceFunction · 0.80
createClientLoggerFunction · 0.80
createLoggerFunction · 0.80

Calls 1

shapeMethod · 0.80

Tested by

no test coverage detected