Skip to content

Commit

Permalink
Preserve JSDoc comments in emitted files
Browse files Browse the repository at this point in the history
This makes JSDoc comments available to developers using our libraries at
development time for IDEs supporting it.
  • Loading branch information
NSeydoux committed Oct 6, 2023
1 parent 68bb29f commit 69f84a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"strict": true,
"declaration": true,
"noImplicitAny": true,
"removeComments": true,
// Preserve JSDoc comments in .d.ts files so that they are available
// to consumers at development time.
"removeComments": false,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
Expand All @@ -23,7 +25,7 @@
"resolveJsonModule": true,
"outDir": "./dist",
// This is required to transform native ESM from our dependencies using ts-jest.
"allowJs": true
"allowJs": true,
},
"exclude": ["node_modules", "dist"],

Expand Down

0 comments on commit 69f84a6

Please sign in to comment.