Skip to content

MajesticRolePlay/ragemp-types

 
 

Repository files navigation

Remember to 🌟 this Github if you 💖 it.

Types definitions for RAGE:MP

📥 Installation

# With npm
npm i --save-dev github:leonardssh/ragemp-types#types-server

# With yarn
yarn add -D github:leonardssh/ragemp-types#types-server

# With pnpm
pnpm add -D github:leonardssh/ragemp-types#types-server
# With npm
npm i --save-dev github:leonardssh/ragemp-types#types-client

# With yarn
yarn add -D github:leonardssh/ragemp-types#types-client

# With pnpm
pnpm add -D github:leonardssh/ragemp-types#types-client
# With npm
npm i --save-dev github:leonardssh/ragemp-types#types-cef

# With yarn
yarn add -D github:leonardssh/ragemp-types#types-cef

# With pnpm
pnpm add -D github:leonardssh/ragemp-types#types-cef

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

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

🤓 Usage

👨‍💻 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.

About

Types definitions for RAGE:MP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published