> For the complete documentation index, see [llms.txt](https://neue-moderne.gitbook.io/redux-sands/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neue-moderne.gitbook.io/redux-sands/api-1/types.md).

# types

Get a mapping of all used reducer-names to the internally used action-types. If no strings are provided, a complete map of all names is returned. Otherwise provide a set of requested names, separated by colon.

This is helpful when integrating `redux-sands` with testing.

```javascript
// Example:

// ...

const wrapper = new ReduxWrapper({ called: "demo" });

wrapper
    .add({ component })
    .add({ update: (state, action) => ({ ...state, ...action });

const types = wrapper.types("update");
// types === { update: "DEMO_UPDATE" }
```
