You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the guide, you specify the required parameter, bus. However, I'm getting an error saying its type is never.
I looked at the source and it seems like its type is indeed being assigned to the keys of an empty interface. Is this intentional behavior? I'm also getting the same error with a fresh template created from pnpm create sst test-app
The text was updated successfully, but these errors were encountered:
Also getting error from default setup pnpm create sst(latest commit fixes)
@jayairTo double check, I presume 'bus' must match the 2nd arg of new EventBus(...)?
Given the runtime nature of EventBus, are we happy to type as Bus extends string instead of Bus extends keyof typeof EventBus? Happy to create PR (likely on weekend)
I'm following the guide for setting up an EventBus, but I'm encountering some typing issues with the
createEventBuilder
function.In the guide, you specify the required parameter,
bus
. However, I'm getting an error saying its type isnever
.I looked at the source and it seems like its type is indeed being assigned to the keys of an empty interface. Is this intentional behavior? I'm also getting the same error with a fresh template created from
pnpm create sst test-app
The text was updated successfully, but these errors were encountered: