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

fix ChangeType type in TS definition #106

Closed
gullerya opened this issue Dec 24, 2021 · 0 comments · Fixed by #108
Closed

fix ChangeType type in TS definition #106

gullerya opened this issue Dec 24, 2021 · 0 comments · Fixed by #108
Assignees
Labels

Comments

@gullerya
Copy link
Owner

The ChangeType is now exported as enum, which is erased in runtime and since the OO self doesn't export such a thing, it just fails in the compiled TS' output.
The best way to handle this, as I understand now, is:

export type ChangeType = 'insert' | 'update' | 'delete' | 'reverse' | 'shuffle';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant