MCPcopy Create free account
hub / github.com/arktypeio/arktype / createClassTarget

Function createClassTarget

ark/aot/interpreter.ts:230–233  ·  view source on GitHub ↗
(base: unknown)

Source from the content-addressed store, hash-verified

228const createArrowTarget = (): Function => () => {}
229
230const createClassTarget = (base: unknown): Function =>
231 typeof base === "function" ?
232 class extends (base as new () => object) {}
233 : class {}
234
235// Look up the stand-in on the active Interpreter stack without storing a
236// strong or WeakRef back-pointer on the proxy itself (even constructing a

Callers 3

functionStandInMethod · 0.85
classStandInMethod · 0.85
opaqueStandInMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected