mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-06 16:06:59 +08:00
feat: model provider refactor done
This commit is contained in:
5
app/global.d.ts
vendored
5
app/global.d.ts
vendored
@@ -21,10 +21,13 @@ declare interface Window {
|
||||
writeBinaryFile(path: string, data: Uint8Array): Promise<void>;
|
||||
writeTextFile(path: string, data: string): Promise<void>;
|
||||
};
|
||||
notification:{
|
||||
notification: {
|
||||
requestPermission(): Promise<Permission>;
|
||||
isPermissionGranted(): Promise<boolean>;
|
||||
sendNotification(options: string | Options): void;
|
||||
};
|
||||
http: {
|
||||
fetch: typeof window.fetch;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user