mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-01 09:31:39 +00:00
Revert "fix(ignore): Move to Node16 module (#26704)"
This reverts commit ea5e0d47a5.
This commit is contained in:
@@ -52,7 +52,6 @@ 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;
|
||||
|
||||
|
||||
+2
-1
@@ -1,13 +1,14 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"module": "Node16",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2022"],
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"outDir": "dist",
|
||||
|
||||
Reference in New Issue
Block a user