From dcc70d9678ac896de08294d6e8d668be6a68680a Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Mon, 22 May 2023 08:19:57 +0200 Subject: [PATCH] refactor: export typescript declarations for the commonjs build Related: https://github.com/socketio/socket.io/issues/4621#issuecomment-1551853243 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index f033355..b9e4980 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "outDir": "build/cjs/", "target": "es2018", // Node.js 10 (https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping) "module": "commonjs", - "declaration": false + "declaration": true }, "include": [ "./lib/**/*"