Skip to content

Lupa API Reference / @pawel-up/lupa/runner / JsonSerializable

Type Alias: JsonSerializable

JsonSerializable = string | number | boolean | null | JsonSerializable[] | {[key: string]: JsonSerializable; }

Defined in: src/runner/types.ts:152

Enforces JSON-serializable values at the type level. Functions, symbols, undefined, and class instances are rejected.