From c3955068b4747e01f89975456adf508494edf433 Mon Sep 17 00:00:00 2001 From: Jeroen de Bruijn Date: Sun, 5 Nov 2023 21:22:56 +0100 Subject: [PATCH] fix!: change `module` from `ES2022` to `Node16` in TSConfig This prevents the following error and shouldn't be a difference for most projects. As it could be breaking for some projects, it's released as a breaking change. tsconfig.json(4,15): error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'. --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9cfd2c7..01a3641 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "declaration": true, - "module": "ES2022", + "module": "Node16", "esModuleInterop": true, "moduleResolution": "Node16", "outDir": "dist",