Skip to content

Conversation

@JoelEinbinder
Copy link
Contributor

*/

import * as crypto from 'crypto';
import crypto from 'crypto';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work? Reading MDN, this syntax means "import default", while we need "import everything as a namespace".

@aslushnikov
Copy link
Contributor

How come we have to align our typescript compilation flags with our dependencies? What happens if proxy-https-agent drops this option from their tsconfig in the subsequent release - will we drop it as well here?

@aslushnikov
Copy link
Contributor

Closing in favor of #2777

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.

3 participants