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

expose the Plugin type #1233

Open
aleclarson opened this issue Oct 15, 2024 · 0 comments · May be fixed by #1264
Open

expose the Plugin type #1233

aleclarson opened this issue Oct 15, 2024 · 0 comments · May be fixed by #1264

Comments

@aleclarson
Copy link

aleclarson commented Oct 15, 2024

Currently, the Plugin type is not exported, so I can't do:

function myPlugin(): Plugin {  }

The workaround is to use this type:

type Plugin = Exclude<import('tsup').Options['plugins'], void>[number]

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@Sunny-117 Sunny-117 linked a pull request Dec 14, 2024 that will close this issue
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 a pull request may close this issue.

1 participant