Skip to content

Commit 47c9899

Browse files
committed
Keep comments in .d.ts files
1 parent a593afe commit 47c9899

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/Node,Yarn,JetBrains+All,VisualStudio,VisualStudioCode
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=Node,Yarn,JetBrains+All,VisualStudio,VisualStudioCode
3-
4-
### JetBrains+all ###
5-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7-
81
# User-specific stuff
92
.idea/**/workspace.xml
103
.idea/**/tasks.xml
@@ -667,3 +660,4 @@ FodyWeavers.xsd
667660

668661
!.yarn/releases
669662
.yarn/cache
663+
build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"build:prod": "yarn lint && yarn fmt && node ./scripts/build.js",
24-
"build": "yarn lint && yarn fmt && tsc",
24+
"build": "yarn build:prod",
2525
"lint": "eslint src --ext .ts --fix",
2626
"test": "vitest --run",
2727
"fmt": "prettier --write ./.prettierrc.json **/*.{ts,js,yaml,yml,json,md}"

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"outDir": "./build",
55
"isolatedModules": true,
66
"skipLibCheck": true,
7-
"skipDefaultLibCheck": true
7+
"skipDefaultLibCheck": true,
8+
"removeComments": false
89
},
910
"include": ["**/*.ts"],
1011
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)