From 2fb652ba545747e395f842b68caf293943fc7fff Mon Sep 17 00:00:00 2001 From: Adam Laker Illoul <85499621+Ademsk1@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:11:22 +0000 Subject: [PATCH 1/2] fix: add declaration file --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"] From 5a27ba66899c53fb9bd656316ec15ed25fa1e348 Mon Sep 17 00:00:00 2001 From: Adam Laker Illoul <85499621+Ademsk1@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:19:57 +0000 Subject: [PATCH 2/2] fix: types field --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",