{
  "compilerOptions": {
    "outDir": "./dist/",
    "sourceMap": true,
    "noImplicitAny": true,
    "module": "commonjs",
    "target": "es6"
  },
  "files": [
      "./src/**/*",
      "./index.d.ts"
  ]
}

{
  "compilerOptions": {
    "outDir": "./dist/",
    "sourceMap": true,
    "noImplicitAny": true,
    "module": "commonjs",
    "target": "es6",
    "allowJs": true
  },
  "files": [
      "./src/**/*",
      "./index.d.ts"
  ]
}

Add allowjs to ts config
Add allowjs to ts config

