UNPKG

557 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.dev/license
7 */
8export interface JsonArray extends Array<JsonValue> {
9}
10export interface JsonObject {
11 [prop: string]: JsonValue;
12}
13export type JsonValue = boolean | string | number | JsonArray | JsonObject | null;
14export declare function isJsonObject(value: JsonValue): value is JsonObject;
15export declare function isJsonArray(value: JsonValue): value is JsonArray;