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
Anyway, bug found in this "unreleased" version. When there is no /api folder TypeSafeApiRoute is not created but still referenced in typeSafeUrl which causes TS to do not work.
it should be done like this
export type TypeSafeApiRoute = never;
or TypeSafeApiRoute should not be mentioned at all
I have a simple project with no API. When this plugin added I'm getting this error
As a workaround – I've just created
api/index.ts
The text was updated successfully, but these errors were encountered: