diff --git a/package.json b/package.json index f9dab68..f1b4112 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "files": [ "dist/**/*" ], - "types": "./dist/typings/index.d.ts", + "types": "./dist/index.d.ts", "scripts": { "lint": "eslint \"*.{ts,tsx}\"", "prepare": "husky install && npm run build", diff --git a/tsconfig.json b/tsconfig.json index b471489..d659277 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, - "skipLibCheck": true + "skipLibCheck": true, + "declaration": true }, "exclude": ["node_modules", "playwright.config.ts", "tests", "example"], "include": ["./index.ts", "./plugin"]