diff --git a/package.json b/package.json index cbd01da..dc78393 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,10 @@ "types/index.d.ts" ], "exports": { - ".": "./index.js", + ".": { + "types": "./types/index.d.ts", + "default": "./index.js" + }, "./promise": "./promise.js" }, "scripts": { @@ -63,4 +66,4 @@ "@neon-rs/load": "^0.0.4", "detect-libc": "2.0.2" } -} +} \ No newline at end of file