Skip to content

Commit c705bef

Browse files
committed
refactor: update TypeScript configuration to target ES2024 and improve type definitions
1 parent 4aaecfc commit c705bef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2022",
3+
"target": "ES2024",
44
"module": "nodenext",
55
"moduleResolution": "nodenext",
6-
"lib": ["es2022", "dom"],
6+
"lib": ["es2024", "dom"],
77
"allowJs": true,
88
"checkJs": true,
99
"strict": true,
1010
"types": ["node"],
1111
"resolveJsonModule": true,
12-
"allowSyntheticDefaultImports": true,
1312
"esModuleInterop": true
1413
},
1514
"include": ["./bin/**/*", "./lib/**/*"]

types/lib/Server.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,6 +1535,7 @@ declare class Server<
15351535
/**
15361536
* @private
15371537
* @param {Compiler} compiler compiler
1538+
* @returns {Promise<void>}
15381539
*/
15391540
private addAdditionalEntries;
15401541
/**

0 commit comments

Comments
 (0)