fix(ignore): Move to Node16 module (#26704)

This commit is contained in:
Koen Kanters
2025-03-11 21:51:04 +01:00
committed by GitHub
parent 8378949e1d
commit ea5e0d47a5
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -52,6 +52,7 @@ function capitalize(s: string): string {
async function getZigbee2MQTTVersion(includeCommitHash = true): Promise<{commitHash?: string; version: string}> {
const packageJSON = await import('../../package.json');
// @ts-expect-error typing incorrect
const version = packageJSON.version;
let commitHash: string | undefined;
+1 -2
View File
@@ -1,14 +1,13 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "commonjs",
"module": "Node16",
"esModuleInterop": true,
"target": "ES2022",
"lib": ["ES2022"],
"strict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"moduleResolution": "node",
"declaration": true,
"declarationMap": true,
"outDir": "dist",