# mdpress-types
Currently MdPress does not support typescript, and does not provide types definition.
::: warning EXPERIMENTAL
mdpress-types
is an experimental package for MdPress types definition. Feel free to open an issue if you find it does not work as expected.
:::
# Installation
npm install -D mdpress-types
# Usage
You can choose ONE OF the following approaches to use it:
# Import it manually
You can import it manually in your .ts
files.
# Add it to tsconfig
You can add it to the compilerOptions.types
of your tsconfig.json
:
{
"compilerOptions": {
"types": ["mdpress-types"]
}
}