From cee286ae20ae226d9679f670dea96e02f08ed3d1 Mon Sep 17 00:00:00 2001 From: replygirl Date: Wed, 8 Dec 2021 15:29:49 -0500 Subject: [PATCH] fix: types not resolved in ts >=4.5, fix #119 (#129) --- package.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package.json b/package.json index 9094ea85..f3e09c4f 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,30 @@ "require": "./dist/types.js", "import": "./dist/types.mjs" }, + "./types/preact": { + "types": "./types/preact.d.ts" + }, + "./types/raw": { + "types": "./types/raw.d.ts" + }, + "./types/react": { + "types": "./types/react.d.ts" + }, + "./types/solid": { + "types": "./types/solid.d.ts" + }, + "./types/svelte": { + "types": "./types/svelte.d.ts" + }, + "./types/vue": { + "types": "./types/vue.d.ts" + }, + "./types/vue3": { + "types": "./types/vue3.d.ts" + }, + "./types/web-components": { + "types": "./types/web-components.d.ts" + }, "./vite": { "require": "./dist/vite.js", "import": "./dist/vite.mjs"