Skip to content

Commit

Permalink
add typescript support
Browse files Browse the repository at this point in the history
  • Loading branch information
gotschmarcel committed Oct 1, 2023
1 parent 6462a34 commit fb991c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/transport.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default class Transport {
constructor(options: { apiKey: string })
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "2.0.1",
"description": "Nodemailer Transport Module for Brevo",
"main": "lib/transport.js",
"types": "lib/transport.d.ts",
"scripts": {
"test": "mocha test/auto/*.spec.js",
"prepublish": "npm run format:check && npm run lint:check && npm run test",
Expand Down

0 comments on commit fb991c9

Please sign in to comment.