# @remirror/types

> Base types used throughout the remirror packages.

[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)

[version]: https://flat.badgen.net/npm/v/@remirror/types
[npm]: https://npmjs.com/package/@remirror/types
[license]: https://flat.badgen.net/badge/license/MIT/purple
[size]: https://bundlephobia.com/result?p=@remirror/types
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/types
[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label
[downloads-badge]: https://badgen.net/npm/dw/@remirror/types/red?icon=npm

<br />

## Installation

```bash
# yarn
yarn add @remirror/types

# pnpm
pnpm add @remirror/types

# npm
npm install @remirror/types
```

<br />

## Explanation

This library exports types used throughout the `remirror` codebase. It has no dependencies on ProseMirror so can be used everywhere.

Since `type-fest` is used throughout the codebase it also re-exports all the types from typefest.
