Enable @typescript-eslint/no-explicit-any as an error in the ESLint config to tighten typing across the codebase, and add an override to disable this rule for test files. Also apply non-functional cleanup in packages/proton/src/runtime.ts: reorder/imports and adjust formatting/indentation and string alignment for readability — no behavioral changes.
7 lines
223 B
TypeScript
7 lines
223 B
TypeScript
export type JsonPrimitive = string | number | boolean | null;
|
|
export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
export interface JsonObject {
|
|
[key: string]: JsonValue;
|
|
}
|
|
export type JsonArray = JsonValue[];
|