( opts: PrecompileOptions | undefined )
| 477 | export type RuntimeVariant = "none" | "lean" | "none-lean" |
| 478 | |
| 479 | export const runtimeVariantOf = ( |
| 480 | opts: PrecompileOptions | undefined |
| 481 | ): RuntimeVariant | undefined => |
| 482 | opts?.optimizeErrors === "size" ? |
| 483 | opts.errors === "none" ? |
| 484 | "none-lean" |
| 485 | : "lean" |
| 486 | : opts?.errors === "none" ? "none" |
| 487 | : undefined |
| 488 | |
| 489 | // loaded in place of @ark/schema's runtime, but not in shadow mode |
| 490 | export const resolvedVariantOf = ( |
no outgoing calls
no test coverage detected