-
Notifications
You must be signed in to change notification settings - Fork 224
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
Compatibility with moduleResolution: "Node16" is broken. #1160
Comments
I spent some time looking into this issue, and I think it's caused by the missing Here are the current contents of export * from './error';
export * from './struct';
export * from './structs/coercions';
export * from './structs/refinements';
export * from './structs/types';
export * from './structs/utilities';
//# sourceMappingURL=index.d.ts.map If I modify the file to look like this, then the issue is resolved. export * from './error.js';
export * from './struct.js';
export * from './structs/coercions.js';
export * from './structs/refinements.js';
export * from './structs/types.js';
export * from './structs/utilities.js';
//# sourceMappingURL=index.d.ts.map @ianstormtaylor, is there a way we can configure the build process so that it includes the |
One solution is to change the tsconfig to use But... (isn't there always a but)... the tool |
Closing in this favour of #1200 (it is currently my priority to fix this). |
Sadly superstruct isn't compatible with the new module resolution algo.
Should be fixed to be compatible in the future.
The text was updated successfully, but these errors were encountered: