HomeAbout

JSON

Typing JSON Object

// all available Json values export type JsonValue = | boolean | null | number | string | JsonObject | JsonArray; // defining array; also exported as JSON can be an array export interface JsonArray extends Array<JsonValue> {} // main interface export interface JsonObject extends Record<string, JsonValue> {} // In PrismaJS Prisma.JsonValue
AboutContact