Skip to content

Commit

Permalink
Enable TypeScript declaration maps
Browse files Browse the repository at this point in the history
This enables “Go to Definition” in TypeScript based editors.
  • Loading branch information
remcohaszing committed Aug 30, 2023
1 parent fe6e9e8 commit 263ca06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules/
.DS_Store
*.d.ts
*.log
*.map
yarn.lock
!/index.d.ts
!/test/types.d.ts
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"checkJs": true,
"customConditions": ["development"],
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"exactOptionalPropertyTypes": true,
"lib": ["es2022"],
Expand Down

0 comments on commit 263ca06

Please sign in to comment.