Skip to content

Commit

Permalink
add types entry
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored 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 <[email protected]>",
"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.