@ragempcommunity/types-client
TypeScript icon, indicating that this package has built-in type declarations

2.1.8 • Public • Published

Remember to 🌟 this GitHub if you 💖 it.

This package contains types definitions for RAGE:MP client-side module.

📥 Installation

CLIENT-SIDE

🔥 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

🤓 Usage

To make these types detectable, you need to add the types property below to tsconfig.json on each side of your project.

// e.g client-side
{
	"compilerOptions": {
		"types": ["{RELATIVE_PATH_TO_NODE_MODULES}/@ragempcommunity/types-client"]
	}
}

Full type-safe and auto-complete

👨‍💻 Contributing

To contribute to this repository, feel free to create a new fork of the repository and submit a pull request.

  1. Fork / Clone and select the main branch.
  2. Create a new branch in your fork.
  3. Make your changes.
  4. Commit your changes and push them.
  5. Submit a Pull Request here!

🎉 Thanks

📋 License

This project is licensed under the MIT License — see the LICENSE file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @ragempcommunity/types-client

Weekly Downloads

108

Version

2.1.8

License

MIT

Unpacked Size

3.05 MB

Total Files

67

Last publish

Collaborators

  • leonardssh
  • test137e29b
  • timfl