Skip to content

Commit fa2c7f7

Browse files
committedApr 19, 2022
Add Typescript types to the simple-git exports, for use when importing through module resolution which relies on named exports
1 parent ed749c6 commit fa2c7f7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎.changeset/ninety-pots-tan.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"simple-git": minor
3+
---
4+
5+
Enable the use of types when loading with module-resolution

‎simple-git/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"types": "./dist/typings/index.d.ts",
7272
"exports": {
7373
".": {
74+
"types": "./dist/typings/index.d.ts",
7475
"import": "./dist/esm/index.js",
7576
"require": "./dist/cjs/index.js"
7677
},

0 commit comments

Comments
 (0)
Please sign in to comment.