You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without this, in the latest Typescript (5.1.0), it fails compilation with the message:
error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
For libraries like https://github.com/aws/jsii they require that esModuleInterop be disabled so this library is unusable in that context.
For example, the following does not work:
import * as untildify from "untildify";
Neither does:
import untildify from "untildify";
The text was updated successfully, but these errors were encountered:
To get this package to work with Typescript, the following must be set to true in the
tsconfig.json
Without this, in the latest Typescript (5.1.0), it fails compilation with the message:
For libraries like https://github.com/aws/jsii they require that
esModuleInterop
be disabled so this library is unusable in that context.For example, the following does not work:
Neither does:
The text was updated successfully, but these errors were encountered: