Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some enums are not compiled #527

Closed
ivan-shaban opened this issue May 19, 2018 · 0 comments
Closed

Some enums are not compiled #527

ivan-shaban opened this issue May 19, 2018 · 0 comments

Comments

@ivan-shaban
Copy link

ivan-shaban commented May 19, 2018

  • Issue
    I have an issues like Constant enums are not compiled #112, but i don't use const enums (just regular) and has the same error TypeError: Cannot read property 'NOT_IMPLEMENTED' of undefined
export enum SYSTEM_ACTIONS_TYPES {
    NOT_IMPLEMENTED = 'SYSTEM_ACTIONS_TYPES/notImplemented',
    MOCK = 'SYSTEM_ACTIONS_TYPES/mockAction',
}

export const systemActions = {
    notImplemented: () => createAction(SYSTEM_ACTIONS_TYPES.NOT_IMPLEMENTED),
    mock: () => createAction(SYSTEM_ACTIONS_TYPES.MOCK),
}

It just regular enum, which i use a lot for actions descriptions, but only that one cause an error %(
If i remove references to this enum everything works fine. What may cause this issue?

P.S. i found that my issue totally the same as #281, so i think it should be closed as duplicate. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants