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
My intuition is that the syntax in the source code is export const enum LoggerTag and should be export enum LoggerTag (removing the const) to work like LoggerLevel
The text was updated successfully, but these errors were encountered:
Describe the bug
when importing
LoggerTag
from@marblejs/core
, the enum is undefined.To Reproduce
produces the following error:
Expected behavior
It should not be undefined
Desktop (please complete the following information):
Additional context
It looks like a bundling issue. In my
node_modules
I can seeLoggerTag
in the type definitions but not in the.js
fileMy intuition is that the syntax in the source code is
export const enum LoggerTag
and should beexport enum LoggerTag
(removing theconst
) to work likeLoggerLevel
The text was updated successfully, but these errors were encountered: