diff --git a/package.json b/package.json index 817ac24..c55f9f9 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,17 @@ "./node": "./lib/node.js", "./browser": "./lib/browser.js" }, - "types": "lib", + "types": "./lib", + "typesVersions": { + "*": { + "node": [ + "lib/node.d.ts" + ], + "browser": [ + "lib/browser.d.ts" + ] + } + }, "files": [ "lib", "!lib/examples/**/*",