Skip to main content
Module

x/enzastdlib/json5/types.ts>JSON5Types

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
type alias JSON5Types
import { type JSON5Types } from "https://deno.land/x/enzastdlib@v0.0.4/json5/types.ts";

Represents all the possible JavaScript types serializable to JSON5.

Examples

Example 1

import type { JSON5Types } from 'https://deno.land/x/enzastdlib/json5/mod.ts';

const my_value = true satisfies JSON5Types;
definition:
| boolean
| null
| number
| string