From b9b35a3b43cfbaf1308c702a9e5adfb432ed3b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan-Eric=20N=C3=A6ss?= Date: Fri, 16 Aug 2024 01:58:25 +0200 Subject: [PATCH] Update packages, tweak Neutralino type --- package.json | 8 ++++---- src/neu-main.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8b6b136..b681649 100644 --- a/package.json +++ b/package.json @@ -22,13 +22,13 @@ "resedit": "^2.0.2", "rimraf": "^6.0.1", "sharp": "^0.33.4", - "terser": "^5.31.3", + "terser": "^5.31.6", "typescript": "^5.5.4", - "vite": "^5.3.5", + "vite": "^5.4.1", "vite-node": "^2.0.5", "vite-plugin-checker": "^0.7.2", "vite-plugin-image-optimizer": "^1.1.8", - "vite-plugin-zip-pack": "^1.2.3", - "vite-tsconfig-paths": "^4.3.2" + "vite-plugin-zip-pack": "^1.2.4", + "vite-tsconfig-paths": "^5.0.1" } } diff --git a/src/neu-main.ts b/src/neu-main.ts index e59dc7f..cdc0144 100644 --- a/src/neu-main.ts +++ b/src/neu-main.ts @@ -1,5 +1,5 @@ import * as Neutralino from '@neutralinojs/lib'; -type Neutralino = typeof import('@neutralinojs/lib'); +type Neutralino = typeof Neutralino; const NeutralinoLoad = (Neutralino: Neutralino) => { Neutralino.window.center();