Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add superagent types as prod dependency #347

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Nov 15, 2024

We expose superagent's types in our own types, so this should be a production dependency. Otherwise, we will cause errors in the typescript builds of consumers (unless they skip lib check).

It does mean we add an unnecessary dependency for non-ts people, but there's not any simple way around that.

Fixes #346

We expose superagent's types in our own types, so this should be a
production dependency. Otherwise, we will cause errors in the typescript
builds of consumers (unless they skip lib check).

It does mean we add an unnecessary dependency for non-ts people, but
there's not any simple way around that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeScript errors: Property 'post' does not exist on type 'Agent'
1 participant