Skip to content

Commit dcc70d9

Browse files
refactor: export typescript declarations for the commonjs build
Related: socketio/socket.io#4621 (comment)
1 parent 3b78117 commit dcc70d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"outDir": "build/cjs/",
44
"target": "es2018", // Node.js 10 (https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping)
55
"module": "commonjs",
6-
"declaration": false
6+
"declaration": true
77
},
88
"include": [
99
"./lib/**/*"

0 commit comments

Comments
 (0)