( specifier: string, opts: PrecompileOptions | undefined )
| 468 | |
| 469 | // shadow mode keeps arktype, resolving only its config to the runtime |
| 470 | export const resolvesToRuntime = ( |
| 471 | specifier: string, |
| 472 | opts: PrecompileOptions | undefined |
| 473 | ): boolean => |
| 474 | opts?.runtime !== "arktype" && |
| 475 | !(opts?.shadow && specifier !== "arktype/config") |
| 476 | |
| 477 | export type RuntimeVariant = "none" | "lean" | "none-lean" |
| 478 |
no outgoing calls
no test coverage detected