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
Some build tools (e.g. esbuild, vite) don't work with const enums because they compile Typescript in the isolatedModules mode. They compile files individually without type information, so they can't inline const enums, which eventually cause runtime errors.
Plus Javascript users can't use const enums.
Auth exports some const enums, e.g. ProviderId, SignInMethod. We should probably replace them with just plain object maps.
The text was updated successfully, but these errors were encountered:
Some build tools (e.g. esbuild, vite) don't work with const enums because they compile Typescript in the
isolatedModules
mode. They compile files individually without type information, so they can't inline const enums, which eventually cause runtime errors.Plus Javascript users can't use const enums.
Auth exports some const enums, e.g.
ProviderId
,SignInMethod
. We should probably replace them with just plain object maps.The text was updated successfully, but these errors were encountered: