Skip to content

Instantly share code, notes, and snippets.

@sstur
Created January 24, 2020 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sstur/d63a0c98ea7692468340d4042885f6e1 to your computer and use it in GitHub Desktop.
Save sstur/d63a0c98ea7692468340d4042885f6e1 to your computer and use it in GitHub Desktop.
export type JsonPrimitive = null | boolean | number | string;
export type JsonArray = Array<JsonValue>;
export type JsonObject = { [key: string]: JsonValue };
export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment