update types

This commit is contained in:
草鞋没号 committed 2022-09-14 08:22:17 +08:00
1 parent de234a1fd5
commit 4b46601879
2 files changed
+25 -4

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
/// <reference types="vite-plugin-electron/electron-env" />
declare namespace NodeJS {
interface ProcessEnv {
/**
* The built directory structure
*
* ```tree
* ├─┬ dist
* │ ├─┬ electron
* │ │ ├─┬ main
* │ │ │ └── index.js
* │ │ └─┬ preload
* │ │ └── index.js
* │ ├── index.html
* │ ├── ...other-static-files-from-public
* │
* ```
*/
DIST: string
/** /dist/ or /public/ */
PUBLIC: string
}
}