Generates a roblox.d.ts file from a combination of handwritten .d.ts files and generated data from Roblox's API dump


Keywords
roblox-ts
License
MIT
Install
npm install rbx-types@1.0.191

Documentation

@rbxts/types

TypeScript typings for the Roblox platform. Partially handwritten and partially automatically generated.

Installation

To install @rbxts/types into your project, run the following command:

npm install -D @rbxts/types

Then, make sure node_modules/@rbxts is listed in your compilerOptions.typeRoots field in your project's tsconfig.json like so:

{
	"compilerOptions": {
		"typeRoots": ["node_modules/@rbxts"]
	}
}