mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-30 08:18:03 +00:00
Introduced tsconfig.app.json and tsconfig.base.json + Refactored eslint.config.js to the latest structure (#652)
* Introduced tsconfig.app.json and tsconfig.base.json * yarn.lock * Introduced tsconfig.app.json, tsconfig.base.jsonfig. * Refactored eslint.config.js to latest structure * Returned previous recommended rules. * More rules * Force import rules * Check * Check * Cleanup ESLint configuration and plugins * Cleanup heap: "writable",DD_RUM: "writable" from ESLint configuration * "scripts" moved to the top of package.json
This commit is contained in:
19
frontend/src/vite-env.d.ts
vendored
19
frontend/src/vite-env.d.ts
vendored
@@ -1 +1,20 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
interface Window {
|
||||
heap?: {
|
||||
push: (args: unknown[]) => void;
|
||||
appid?: string;
|
||||
config?: Record<string, unknown>;
|
||||
track: (name: string, props?: Record<string, unknown>) => void;
|
||||
addEventProperties: (props: Record<string, unknown>) => void;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
DD_RUM?: {
|
||||
q: unknown[];
|
||||
onReady: (callback: () => void) => void;
|
||||
init: (options: Record<string, unknown>) => void;
|
||||
};
|
||||
}
|
||||
|
||||
declare const heap: NonNullable<Window["heap"]>;
|
||||
declare const DD_RUM: NonNullable<Window["DD_RUM"]>;
|
||||
|
||||
Reference in New Issue
Block a user