-
Notifications
You must be signed in to change notification settings - Fork 63
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
Cannot import oas31
using ESM in openapi3-ts@4.1.1
#114
Comments
Hi, refs: #111 |
What if I want to use |
You can use it since it is the exact same. https://www.typescriptlang.org/tsconfig#moduleResolution |
But if it's the exact same, why wouldn't it work in the first place? I'm confused :D |
Yours is not nodenext -> |
While trying to upgrade to
openapi3-ts@4.1.1
in my project, I suddenly started getting this error on all my imports:I'm guessing this is happening because my project is ESM. It used to work fine with
openapi3-ts@4.0.4
.I'm using TypeScript 5.0.4, and my
tsconfig.json
looks like this:The text was updated successfully, but these errors were encountered: