fix: JSON related interfaces

This commit is contained in:
Faruk AYDIN
2022-03-04 14:32:55 +03:00
committed by Ömer Faruk Aydın
parent 02af7948e5
commit 39b50fc0d3

View File

@@ -1,9 +1,9 @@
// Type definitions for automatisch
export type IJSONValue = string | number | boolean | JSONObject | JSONArray;
export type IJSONArray = Array<JSONValue>;
export type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;
export type IJSONArray = Array<IJSONValue>;
export interface IJSONObject {
[x: string]: JSONValue;
[x: string]: IJSONValue;
}
export interface IConnection<D extends IJSONObject | string> {