Closed KoesterJannik closed 1 year ago
`import Mailjet from 'node-mailjet'; const API_KEY = 'mysecret'; const SECRET_KEY = 'mysecret';
const mailjet = Mailjet.apiConnect(API_KEY, SECRET_KEY); console.log('mailjet: ', mailjet);
export default mailjet; ` Im using version ^6.0.2 and "@types/node-mailjet": "^3.3.9", I even get proper typescript support and i can see the static apiConnect Method.
Any idea whats wrong here?
found the typescript part in your readme. closed
@KoesterJannik how did you solve this?
`import Mailjet from 'node-mailjet'; const API_KEY = 'mysecret'; const SECRET_KEY = 'mysecret';
const mailjet = Mailjet.apiConnect(API_KEY, SECRET_KEY); console.log('mailjet: ', mailjet);
export default mailjet; ` Im using version ^6.0.2 and "@types/node-mailjet": "^3.3.9", I even get proper typescript support and i can see the static apiConnect Method.
Any idea whats wrong here?