Code Notes

TypeScript JSON type

type JSONValue =
  | string
  | number
  | boolean
  | null
  | JSONValue[]
  | { [key: string]: JSONValue }

interface JSONObject {
  [k: string]: JSONValue
}
interface JSONArray extends Array<JSONValue> {}
Available for work from mid-July 2026.
Hire me before someone else does.
Get in touch