-
Notifications
You must be signed in to change notification settings - Fork 68
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
Named imports from assert #141
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to use
import {AssertionError} from 'assert';
but cannot becausepower-assert
does not echo named exports. All I can do is either abuseimport {AssertionError} from 'node:assert;
since this bypasses thepower-assert
babel plugin, orimport assert from 'assert'; const {AssertionError} = assert;
.The text was updated successfully, but these errors were encountered: