diff --git a/package.json b/package.json
index e4f3c32..08cd90b 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,13 @@
         "require": "./build/index.cjs",
         "types": "./build/index.d.ts"
     },
+    "typesVersions": {
+        "*": {
+            "*": [
+                "./build/*"
+            ]
+        }
+    },
     "scripts": {
         "clean": "rimraf build",
         "build": "npm run clean && tsc && node scripts/esbuild.js"