rbx-types

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

Usage no npm install needed!

<script type="module">
  import rbxTypes from 'https://cdn.skypack.dev/rbx-types';
</script>

README

rbx-types

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

Installation

To install rbx-types into your project, run the following command:

npm i rbx-types

Then, make sure rbx-types is listed in your compilerOptions.types field in your project's tsconfig.json like so:

{
    "compilerOptions": {
        "types": ["rbx-types"]
    }
}