From d01aa13ee77168e31db405ea0b70935a47a3671d Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Fri, 27 Mar 2026 16:33:19 +0000 Subject: [PATCH] fix(tsconfig): add Node.js type definitions to TypeScript compiler options --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- tsconfig.json | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 5a50628..951b2de 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2026-03-27 - 2.5.3 - fix(tsconfig) +add Node.js type definitions to TypeScript compiler options + +- Includes the node type library in tsconfig to improve recognition of Node.js globals and APIs during type checking. + ## 2026-03-27 - 2.5.2 - fix(build,types) migrate smart config filename and tighten TypeScript null handling diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 4c817e4..16137e6 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-domtools', - version: '2.5.2', + version: '2.5.3', description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.' } diff --git a/tsconfig.json b/tsconfig.json index 70d3f34..7862634 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,8 @@ "module": "NodeNext", "moduleResolution": "NodeNext", "esModuleInterop": true, - "verbatimModuleSyntax": true + "verbatimModuleSyntax": true, + "types": ["node"] }, "exclude": [ "dist_*/**/*.d.ts"