Skip to content

Commit

Permalink
Update packages/core/docs/general/error-handling.md
Browse files Browse the repository at this point in the history
  • Loading branch information
filrak committed Jan 7, 2021
1 parent c74e047 commit b012400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/docs/general/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
</script>
```

There is a dedicated interface for each composable, example one for the `useCart`:
There is a dedicated interface for each composable. Take a look at this one from `useCart`:
```ts
export interface UseCartErrors {
addItem?: Error;
Expand Down Expand Up @@ -84,4 +84,4 @@ const addItem = async ({ product, quantity, customQuery }) => {
loading.value = false;
}
};
```
```

0 comments on commit b012400

Please sign in to comment.