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

When targeting es2020 an import error is reported #17

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

rob-blackbourn
Copy link
Owner

This seems to be something to do with the lexical order of static methods and is specific to their use in the constructor.

Rather than re-order the methods (which seemed a little fragile) we decided to pull the static methods out as unexported functions.

@rob-blackbourn rob-blackbourn merged commit 82965a3 into master Dec 4, 2023
1 check passed
@rob-blackbourn rob-blackbourn deleted the bugfix/duration-error-for-es2020 branch December 4, 2023 08:41
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

Successfully merging this pull request may close these issues.

1 participant