From 1857cf50907506de4896498febfddf18ad22f061 Mon Sep 17 00:00:00 2001 From: Alexey Sudilovskiy Date: Thu, 10 Oct 2024 13:44:21 +0200 Subject: [PATCH] fix: export types --- package.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/package.json b/package.json index f914c3e..d3324fc 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,19 @@ "./react": "./build/react/index.js", "./hooks": "./build/react/index.js" }, + "typesVersions": { + "*": { + "index.d.ts": [ + "./build/plugin/index.d.ts" + ], + "plugin": [ + "./build/plugin/index.d.ts" + ], + "runtime": [ + "./build/runtime/index.d.ts" + ] + } + }, "scripts": { "build": "run-p build:*", "build:js": "./esbuild/build.js",