[PERF DEBUG]

This commit is contained in:
dwelle
2022-08-20 11:53:05 +02:00
parent 46a61ad4df
commit 41200ea28d
5 changed files with 101 additions and 40 deletions
+3
View File
@@ -16,6 +16,9 @@ interface Window {
EXCALIDRAW_EXPORT_SOURCE: string;
EXCALIDRAW_THROTTLE_RENDER: boolean | undefined;
gtag: Function;
logTime: (name: string, time?: number) => void;
logTimeAverage: (name: string, time: number) => void;
DEBUG_LOG_TIMES: boolean;
}
// https://github.com/facebook/create-react-app/blob/ddcb7d5/packages/react-scripts/lib/react-app.d.ts