From 1ddd57a28fc1358fd1ff86a29e7e201fc4a71296 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..bca0677 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/runtime/index.d.ts" + ], + "runtime": [ + "./build/runtime/index.d.ts" + ] + } + }, "scripts": { "build": "run-p build:*", "build:js": "./esbuild/build.js",