Skip to content

Commit

Permalink
For danielroe#266: Add docs info about including module methods to ts…
Browse files Browse the repository at this point in the history
…config for inline typing
  • Loading branch information
drodichkin committed Feb 28, 2022
1 parent c432b7b commit 4ef4ea9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/pages/en/2.accessor/2.dynamic-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,16 @@ export default Vue.extend({
}
})
```

### Typed $accessor methods
If you want methods `$accessorRegisterModule` and `$accessorUnregisterModule` to be typed, please add `nuxt-typed-vuex` package to `tsconfig.json` types.

```json{}[tsconfig.json]
{
{
"types": [
"nuxt-typed-vuex"
]
}
}
```

0 comments on commit 4ef4ea9

Please sign in to comment.