Fix TypeScript type errors across multiple files

This commit is contained in:
Mike Cao committed 2026-02-05 21:25:46 -08:00
1 parent 860e6390f1
commit a3733b0424
12 files changed
+38 -15

No files matched your search

+15
View File
@@ -16,3 +16,18 @@ declare module 'semver';
declare module 'tsup';
declare module 'uuid';
declare module '@umami/esbuild-plugin-css-modules';
interface UmamiTracker {
track: {
(): Promise<string>;
(eventName: string): Promise<string>;
(eventName: string, obj: Record<string, any>): Promise<string>;
(properties: Record<string, any>): Promise<string>;
(eventFunction: (props: Record<string, any>) => Record<string, any>): Promise<string>;
};
identify: (data: Record<string, any>) => Promise<string>;
}
interface Window {
umami: UmamiTracker;
}