Skip to content

Commit

Permalink
fix: change types setting path to common one (#138)
Browse files Browse the repository at this point in the history
* chore: improve changelog

* fix: change types setting path to common one
  • Loading branch information
Marginy605 committed Apr 12, 2024
1 parent e930c0f commit d963f18
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@

* separated helpers export from ui ([#133](https://github.com/gravity-ui/dashkit/issues/133))

### refactor

* separated helpers export from ui ([#133](https://github.com/gravity-ui/dashkit/issues/133)) ([5786de8](https://github.com/gravity-ui/dashkit/commit/5786de8f2658fa3dd441b93bb0973b5725649808))
Functions and constants from `src/utils`, `src/shared` and `src/constants` are available for export from another endpoint `helpers`.
For example, previously you could use:
```
import {transformParamsToActionParams} from '@gravity-ui/dashkit';
```
now you should use:
```
import {transformParamsToActionParams} from '@gravity-ui/dashkit/helpers';
```


### Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "build/esm/index.d.ts",
"types": "./build/esm/index.d.ts",
"typesVersions": {
"*": {
"index.d.ts": [
Expand Down

0 comments on commit d963f18

Please sign in to comment.