mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
add better typing to Electron.tsx
This commit is contained in:
7
src/@types/global.d.ts
vendored
7
src/@types/global.d.ts
vendored
@@ -1,8 +1,13 @@
|
||||
// Defined by webpack on startup or compilation
|
||||
declare let __COMMIT_HASH__: string;
|
||||
declare const __COMMIT_HASH__: string;
|
||||
|
||||
// When using file-loader, we'll get a path to the resource
|
||||
declare module "*.png" {
|
||||
const value: string;
|
||||
export default value;
|
||||
}
|
||||
|
||||
// Achievements communicated back to Electron shell for Steam.
|
||||
declare interface Document {
|
||||
achievements: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user