Skip to content

Error after upgrade from 2.2.1 to 2.2.2 #64

Open
@DrMabuse23

Description

@DrMabuse23

Hey i update the package from now on i get
TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
in Typescript could you please fix that ?

my tsconfig :

  "compilerOptions": {
    "outDir": "./dist/",
    "noImplicitAny": false,
    "noUnusedLocals": true,
    "sourceMap": true,
    "rootDir": "./src",
    "module": "commonjs",
    "moduleResolution": "node",
    "types": ["node"],
    "target": "es6",
    "allowJs": true,
    "newLine": "LF"
  },
  "include": ["src/**/*.ts"],
  "exclude": ["src/**/*.d.ts"]
}

my typescript version :

 "dependencies": {
        "typescript": {
          "version": "2.9.2",
          "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz",
          "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==",
          "dev": true
        }
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions