{
  "compilerOptions": {
    "declaration": true,
    "moduleResolution": "node",
    "module": "commonjs",
    "noImplicitAny": true,
    "noImplicitUseStrict": true,
    "outDir": "dist",
    "rootDirs": ["src", "test"],
    "sourceMap": true,
    "strictNullChecks": true,
    "target": "es2015"
  },
  "exclude": [
    "node_modules",
    "test",
    "cjs"
  ]
}
{
  "compilerOptions": {
    "declaration": true,
    "moduleResolution": "node",
    "module": "commonjs",
    "noImplicitAny": true,
    "noImplicitUseStrict": true,
    "outDir": "dist",
    "rootDirs": ["src", "test"],
    "sourceMap": true,
    "strictNullChecks": true,
    "target": "es2015"
  },
  "exclude": [
    "node_modules",
    "test",
    "cjs",
    "dist"
  ]
}
Fix TS5055 error when compiling TypeScript.
Fix TS5055 error when compiling TypeScript.

This error was generated by TypeScript compiler because it reads .d.ts file from dist folder, which will be eventually overwritten by new definition file. So, to fix the error the dist folder is excluded by changing tsconfig.json configuration
