{
  "compilerOptions": {
    "strict": true,
    "outDir": "./dist/",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "noImplicitAny": true,
    "module": "commonjs",
    "target": "es5",
    "jsx": "react",
    "allowJs": true
  },
  "exclude": [
    "node_modules",
    "test"
  ]
}

{
  "compilerOptions": {
    "strict": true,
    "outDir": "./dist/",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "noImplicitAny": true,
    "module": "commonjs",
    "target": "es5",
    "declaration": true
  },
  "exclude": [
    "node_modules",
    "test"
  ]
}

Change "allowJs" property to "declaration"
Change "allowJs" property to "declaration"

This change will create the "index.d.ts" file into /dist/src/