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

Method default

out/cli.cjs:29776–29784  ·  view source on GitHub ↗
(def)

Source from the content-addressed store, hash-verified

29774 });
29775 }
29776 default(def) {
29777 const defaultValueFunc = typeof def === "function" ? def : () => def;
29778 return new ZodDefault({
29779 ...processCreateParams(this._def),
29780 innerType: this,
29781 defaultValue: defaultValueFunc,
29782 typeName: ZodFirstPartyTypeKind.ZodDefault
29783 });
29784 }
29785 brand() {
29786 return new ZodBranded({
29787 typeName: ZodFirstPartyTypeKind.ZodBranded,

Calls 1

processCreateParamsFunction · 0.85

Tested by

no test coverage detected