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

Package detail

notitg-typescript-definitions

oatmealine61MIT1.1.1TypeScript support: included

an implementation of openitg + notitg classes, enums and functions as typescript declaration files

notitg, openitg, itg, stepmania, typescript, declaration, typescripttolua

readme

NotITG and OpenITG TypeScript Definitions

TypeScript definitions for creating OpenITG/NotITG modfiles or themes.

Note: this is currently useless without a build script set up to transpile TypeScript code to Lua. I'll change the readme once I publish that.

Note 2: these declarations were auto-generated!! If you see any errors, please make an issue or a pull request.

Install

Run:

npm install notitg-typescript-definitions --save-dev

then, in your tsconfig.json add:

{
  "compilerOptions": {
    "types": {
      "notitg-typescript-definitions"
      }
  }
}

Suggested repos

Here are some suggested repos if you want to try out creating OpenITG/NotITG modfiles using TypeScript:

  • none right now, will be updated soon