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: disable esmoduleInterop setting #483

Merged
merged 1 commit into from
Oct 30, 2020
Merged

fix: disable esmoduleInterop setting #483

merged 1 commit into from
Oct 30, 2020

Conversation

robcresswell
Copy link
Contributor

This patch disables the esmoduleInterop setting that causes type issues when the library is used by applications that do not transform their code in this way.

Note the workaround for the strategy.ts file (import = require()) is not ideal, but the export in that file is not a valid ES export, so using this TS workaround to get past it.

fixes: #482

This patch disables the `esmoduleInterop` setting that causes type
issues when the library is used by applications that do not transform
their code in this way.

Note the workaround for the `strategy.ts` file (import = require()) is
not ideal, but the export in that file is not a valid ES export, so
using this TS workaround to get past it.

fixes: #482
@gugu
Copy link
Contributor

gugu commented Oct 30, 2020

I agree, personally, I don't like esmoduleInterop setting, I forgot to turn it off

@markstos markstos merged commit 91b6d72 into node-saml:master Oct 30, 2020
@robcresswell robcresswell deleted the fix/disable-esmodule-interop branch October 31, 2020 00:02
@cjbarth cjbarth added the bug label Sep 10, 2022
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 this pull request may close these issues.

[BUG] Type errors
4 participants