Skip to content

Commit ea5e0d4

Browse files
authored
fix(ignore): Move to Node16 module (#26704)
1 parent 8378949 commit ea5e0d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/util/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ function capitalize(s: string): string {
5252

5353
async function getZigbee2MQTTVersion(includeCommitHash = true): Promise<{commitHash?: string; version: string}> {
5454
const packageJSON = await import('../../package.json');
55+
// @ts-expect-error typing incorrect
5556
const version = packageJSON.version;
5657
let commitHash: string | undefined;
5758

tsconfig.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"compilerOptions": {
33
"allowSyntheticDefaultImports": true,
4-
"module": "commonjs",
4+
"module": "Node16",
55
"esModuleInterop": true,
66
"target": "ES2022",
77
"lib": ["ES2022"],
88
"strict": true,
99
"noImplicitAny": true,
1010
"noImplicitThis": true,
11-
"moduleResolution": "node",
1211
"declaration": true,
1312
"declarationMap": true,
1413
"outDir": "dist",

0 commit comments

Comments
 (0)