From 9b34e8a09994c37dd7491772354f43705cb57f0a Mon Sep 17 00:00:00 2001 From: epszaw Date: Mon, 22 Sep 2025 17:51:38 +0200 Subject: [PATCH] fix: add a correct signatures for the package types exports --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ed781893d..d1406897e 100644 --- a/package.json +++ b/package.json @@ -29,14 +29,19 @@ "docs/webapi/**" ], "main": "lib/index.js", + "module": "lib/index.js", + "types": "typings/index.d.ts", "exports": { - ".": "./lib/index.js", + ".": { + "import": "./lib/index.js", + "require": "./lib/index.js", + "types": "./typings/index.d.ts" + }, "./lib/*": "./lib/*.js", "./els": "./lib/els.js", "./effects": "./lib/effects.js", "./steps": "./lib/steps.js" }, - "types": "typings/index.d.ts", "bin": { "codeceptjs": "./bin/codecept.js" },