Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rbxts/types

roblox-ts6.2kMIT1.0.860TypeScript support: included

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

types, Roblox, typescript

readme

@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"]
    }
}