-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🔍 Describe the bug
When I try to use GlobalRateLimit in a ts project,
I have the following error Module '"@upstash/ratelimit"' has no exported member 'GlobalRatelimit'
🔄 Steps to reproduce
- In a TS project, use
import { GlobalRatelimit } from "@upstash/ratelimit";
- Build app
error TS2305: Module '"@upstash/ratelimit"' has no exported member 'GlobalRatelimit'.
✅ Expected behavior
GlobalRateLimit to be defined
💻 Operating System
macOS
📊 Node and package Version
bun 1.2.20 and "@upstash/ratelimit": "^2.0.6"
📷 Screenshots
No response
📝 Additional context
GlobalRateLimit is documented in Upstash blog https://upstash.com/blog/upstash-ratelimit
✨ Before submitting
- 🔍 I've searched for existing issues and this hasn't been reported before
- ℹ️ I've included all the information needed to reproduce the issue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working