resend / resend-node

Resend's Official Node.js SDK
MIT License
552 stars 39 forks source link

Export all types used as function params on index #122

Closed QuentinFrc closed 3 months ago

QuentinFrc commented 1 year ago

Could be developer friendly to export type directly form index to able to do this import

import { Resend, CreateEmailOptions } from 'resend';

rather than this one

import { CreateEmailOptions } from 'resend/build/src/emails/interfaces';

My use case of needing thoses types is not really interesting but I think other peoples would make a great things with that

ghosh commented 9 months ago

This no longer works in 2.1.0, seems like the package build was changed in #259

iBobik commented 3 months ago

Just wanted to use the type, but cannot

Bez názvu