update types
This commit is contained in:
		
							parent
							
								
									10cf0405f7
								
							
						
					
					
						commit
						68a41e3b5a
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -4,10 +4,7 @@
 | 
			
		|||
    "module": "ESNext",
 | 
			
		||||
    "moduleResolution": "Node",
 | 
			
		||||
    "resolveJsonModule": true,
 | 
			
		||||
    "allowSyntheticDefaultImports": true,
 | 
			
		||||
    "types": [
 | 
			
		||||
      "vite-plugin-electron/electron-env"
 | 
			
		||||
    ]
 | 
			
		||||
    "allowSyntheticDefaultImports": true
 | 
			
		||||
  },
 | 
			
		||||
  "include": ["package.json", "electron"]
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue