diff --git a/packages/cli/package.json b/packages/cli/package.json index 5d88c279..14b3c0a5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -18,7 +18,7 @@ }, "license": "MPL-2.0", "main": "dist/src/lib/index.js", - "typings": "dist/src/types.js", + "typings": "dist/src/types.d.ts", "bin": { "axe": "./dist/src/bin/cli.js" }, diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 21a6482c..3d6868a9 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -11,7 +11,8 @@ "allowJs": true, "lib": ["dom", "es2015", "esnext.asynciterable"], "esModuleInterop": true, - "skipLibCheck": true + "skipLibCheck": true, + "declaration": true }, "include": ["./src/lib", "./src/bin"] }