Skip to content

Commit a343946

Browse files
committed
Merge branch 'longnguyen2004-fix-typings-path'
2 parents db0f10d + 1e933bc commit a343946

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.10.2",
44
"description": "HTTP Man In The Middle (MITM) Proxy",
55
"main": "dist/index.js",
6-
"types": "index.d.ts",
6+
"types": "dist/index.d.ts",
77
"scripts": {
88
"test": "cross-env TS_NODE_TRANSPILE_ONLY=true TS_NODE_PRETTY=true ts-mocha test/01_proxy.ts --exit",
99
"build": "rimraf dist && tsc",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"strict": true,
2222
"forceConsistentCasingInFileNames": true,
2323
"typeRoots": ["./node_modules/@types", "./types.d.ts"],
24-
"baseUrl": "."
24+
"baseUrl": ".",
25+
"declaration": true
2526
},
2627
"include": ["lib/**/*.ts", "index.ts", "bin/*.ts"],
2728
"ts-node": {

0 commit comments

Comments
 (0)