fix: add os platform value

This commit is contained in:
GyDi
2023-01-14 12:07:31 +08:00
parent 4642b79b5b
commit ab161a42ee
4 changed files with 23 additions and 6 deletions

View File

@@ -1,3 +1,22 @@
type Platform =
| "aix"
| "android"
| "darwin"
| "freebsd"
| "haiku"
| "linux"
| "openbsd"
| "sunos"
| "win32"
| "cygwin"
| "netbsd";
/**
* defines in `vite.config.ts`
*/
declare const WIN_PORTABLE: boolean;
declare const OS_PLATFORM: Platform;
/**
* Some interface for clash api
*/