Skip to content

Commit

Permalink
add types entry
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Aug 16, 2022
1 parent b34f32d commit 98cce12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
"umd:main": "dist/index.js",
"module": "dist/index.module.js",
"jsnext:main": "dist/index.module.js",
"typings": "src/index.d.ts",
"types": "src/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./dist/index.mjs",
"browser": "./dist/index.module.js",
"require": "./dist/index.js"
},
"./jsx": {
"types": "./jsx.d.ts",
"import": "./dist/jsx.mjs",
"browser": "./dist/jsx.module.js",
"require": "./dist/jsx.js"
Expand Down Expand Up @@ -91,7 +95,6 @@
},
"author": "Jason Miller <jason@developit.ca>",
"license": "MIT",
"typings": "src/index.d.ts",
"repository": "developit/preact-render-to-string",
"bugs": "https://github.com/developit/preact-render-to-string/issues",
"homepage": "https://github.com/developit/preact-render-to-string",
Expand Down

0 comments on commit 98cce12

Please sign in to comment.