MCPcopy Create free account
hub / github.com/Effect-TS/effect / patch

Function patch

packages/sql-kysely/src/internal/patch.ts:23–27  ·  view source on GitHub ↗
(prototype: any)

Source from the content-addressed store, hash-verified

21
22/** @internal */
23export const patch = (prototype: any) => {
24 if (!(Effect.EffectTypeId in prototype)) {
25 Object.assign(prototype, PatchProto)
26 }
27}
28
29function effectifyWith(
30 obj: any,

Callers 3

kysely.tsFile · 0.70
makeWithSqlFunction · 0.70
makeWithExecuteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected