update types

This commit is contained in:
草鞋没号 committed 2022-09-13 14:40:17 +08:00
1 parent 10cf0405f7
commit 68a41e3b5a
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
}
}