Skip to content

Commit

Permalink
Keep comments in the generated .d.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
Septh committed Mar 24, 2024
1 parent 0fb700c commit 5a530fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"build:dts": "tsc --emitDeclarationOnly --removeComments false",
"watch": "tsc -w",
"test": "ava",
"lint": "eslint source/index.ts",
"clean": "rimraf dist",
"prepublishOnly": "npm run lint && npm run clean && npm run build"
"prepublishOnly": "npm run lint && npm run clean && npm run build && npm run build:dts"
},
"devDependencies": {
"@fast-check/ava": "^1.2.1",
Expand Down

0 comments on commit 5a530fa

Please sign in to comment.