Remember to 🌟 this GitHub if you 💖 it.
This package contains types definitions for RAGE:MP client-side module.
🔥 Use github:ragempcommunity/ragemp-types#types-client
to latest build
# With npm
> npm i --save-dev @ragempcommunity/types-client
# With yarn
> yarn add -D @ragempcommunity/types-client
# With pnpm
> pnpm add -D @ragempcommunity/types-client
To make these types detectable, you need to add the
types
property below totsconfig.json
on each side of your project.
// e.g client-side
{
"compilerOptions": {
"types": ["{RELATIVE_PATH_TO_NODE_MODULES}/@ragempcommunity/types-client"]
}
}
To contribute to this repository, feel free to create a new fork of the repository and submit a pull request.
- Fork / Clone and select the
main
branch. - Create a new branch in your fork.
- Make your changes.
- Commit your changes and push them.
- Submit a Pull Request here!
- CocaColaBear - Creator of types-ragemp-s & types-ragemp-c
This project is licensed under the MIT License — see the LICENSE file for details.