Skip to content

Commit

Permalink
export typescript types in package.json (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikSchefferAmsterdam authored Jul 2, 2024
1 parent aa2b586 commit e4d2440
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions applicationinsights-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
"description": "Microsoft Application Insights React Native Plugin",
"main": "dist-esm/index.js",
"exports": {
".": "./dist-esm/index.js",
"./manual": "./dist-esm/manualIndex.js"
".": {
"types": "./types/index.d.ts",
"import": "./dist-esm/index.js"
},
"./manual": {
"types": "./types/manualIndex.d.ts",
"import": "./dist-esm/manualIndex.js"
}
},
"types": "types/index.d.ts",
"sideEffects": false,
Expand Down Expand Up @@ -88,4 +94,4 @@
"optional": true
}
}
}
}

0 comments on commit e4d2440

Please sign in to comment.