fix: JSON related interfaces
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
02af7948e5
commit
39b50fc0d3
6
packages/types/index.d.ts
vendored
6
packages/types/index.d.ts
vendored
@@ -1,9 +1,9 @@
|
|||||||
// Type definitions for automatisch
|
// Type definitions for automatisch
|
||||||
|
|
||||||
export type IJSONValue = string | number | boolean | JSONObject | JSONArray;
|
export type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;
|
||||||
export type IJSONArray = Array<JSONValue>;
|
export type IJSONArray = Array<IJSONValue>;
|
||||||
export interface IJSONObject {
|
export interface IJSONObject {
|
||||||
[x: string]: JSONValue;
|
[x: string]: IJSONValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IConnection<D extends IJSONObject | string> {
|
export interface IConnection<D extends IJSONObject | string> {
|
||||||
|
Reference in New Issue
Block a user