diff --git a/global.d.ts b/global.d.ts index 684f2ea..6139c19 100644 --- a/global.d.ts +++ b/global.d.ts @@ -122,10 +122,8 @@ declare module "*.module.css" { declare function GM_xmlhttpRequest(init: any): void; declare var unsafeWindow: Window & typeof globalThis; - -declare interface UnknownFields { - // any property - [key: string]: any -} - declare type Constructor = new (...args: any[]) => T; + +declare interface ClassType { + new(...args: unknown[]): T +} diff --git a/package-lock.json b/package-lock.json index b2da80f..101a498 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wuhu-torn-helper", - "version": "1.0.8", + "version": "1.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wuhu-torn-helper", - "version": "1.0.8", + "version": "1.1.1", "devDependencies": { "@element-plus/icons-vue": "^2.1.0", "@rollup/plugin-alias": "^4.0.3", @@ -17,7 +17,7 @@ "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^8.5.0", "@types/jquery": "^3.5.14", - "@types/node": "^18.0.6", + "@types/node": "^20.6.0", "@vitejs/plugin-vue": "^4.0.0", "@vue/tsconfig": "^0.1.3", "cross-env": "^7.0.3", @@ -1150,9 +1150,9 @@ } }, "node_modules/@types/node": { - "version": "18.0.6", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-18.0.6.tgz", - "integrity": "sha512-/xUq6H2aQm261exT6iZTMifUySEt4GR5KX8eYyY+C4MSNPqSh9oNIP7tz2GLKTlFaiBbgZNxffoR3CVRG+cljw==", + "version": "20.6.0", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.6.0.tgz", + "integrity": "sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==", "dev": true }, "node_modules/@types/parse-json": { @@ -8390,9 +8390,9 @@ } }, "@types/node": { - "version": "18.0.6", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-18.0.6.tgz", - "integrity": "sha512-/xUq6H2aQm261exT6iZTMifUySEt4GR5KX8eYyY+C4MSNPqSh9oNIP7tz2GLKTlFaiBbgZNxffoR3CVRG+cljw==", + "version": "20.6.0", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-20.6.0.tgz", + "integrity": "sha512-najjVq5KN2vsH2U/xyh2opaSEz6cZMR2SetLIlxlj08nOcmPOemJmUK2o4kUzfLqfrWE0PIrNeE16XhYDd3nqg==", "dev": true }, "@types/parse-json": { diff --git a/package.json b/package.json index cf7de82..db2ca0a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^8.5.0", "@types/jquery": "^3.5.14", - "@types/node": "^18.0.6", + "@types/node": "^20.6.0", "@vitejs/plugin-vue": "^4.0.0", "@vue/tsconfig": "^0.1.3", "cross-env": "^7.0.3", diff --git a/src/static/html/buyBeer/shop_beer_static_item.html b/src/static/html/buyBeer/shop_beer_static_item.html index 4e99d67..349a1bd 100644 --- a/src/static/html/buyBeer/shop_beer_static_item.html +++ b/src/static/html/buyBeer/shop_beer_static_item.html @@ -1,68 +1,71 @@
- - - -Bottle of Beer - - - - - - - -Bottle of Beer -$10 -Alcohol (800 in stock) - - - - - - - - - - + + + + Bottle of Beer + + + + + + + + + Bottle of Beer + $10$1,636 + Alcohol (5,000 in + stock) + + + + + + + +
+
+
+
-