mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
21 lines
437 B
TypeScript
21 lines
437 B
TypeScript
interface Window {
|
|
showDirectoryPicker(): Promise<FileSystemDirectoryHandle>;
|
|
webkitSpeechRecognition: typeof SpeechRecognition;
|
|
SpeechRecognition: typeof SpeechRecognition;
|
|
}
|
|
|
|
interface Performance {
|
|
memory?: {
|
|
jsHeapSizeLimit: number;
|
|
totalJSHeapSize: number;
|
|
usedJSHeapSize: number;
|
|
};
|
|
}
|
|
|
|
// Add browser property to Process interface
|
|
declare namespace NodeJS {
|
|
interface Process {
|
|
browser?: boolean;
|
|
}
|
|
}
|