Skip to content

Commit

Permalink
chore: types improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarulislam committed Dec 15, 2023
1 parent 3ec7d08 commit d24ab8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hoppscotch/ui",
"version": "0.0.11",
"version": "0.0.12",
"license": "MIT",
"description": "Hoppscotch UI",
"author": "Hoppscotch ([email protected])",
Expand Down Expand Up @@ -94,7 +94,8 @@
},
"type": "module",
"files": [
"dist"
"dist",
"ui-preset.d.ts"
],
"module": "./dist/index.js",
"main": "./dist/index.js",
Expand All @@ -104,7 +105,8 @@
"./themes.scss": "./dist/themes.scss",
"./ui-preset": {
"import": "./dist/ui-preset.js",
"require": "./dist/ui-preset.js"
"require": "./dist/ui-preset.js",
"types": "./dist/ui-preset.d.ts"
},
"./helpers/treeAdapter": "./src/helpers/treeAdapter.ts"
},
Expand Down
3 changes: 3 additions & 0 deletions ui-preset.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from "./dist/ui-preset"

export { default } from "./dist/ui-preset"

0 comments on commit d24ab8f

Please sign in to comment.