2.2.1 • Published 9 months ago

@typed-tabletop-simulator/declaration v2.2.1

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
9 months ago

Tabletop Simulator Types

TypeScript definitions for the Tabletop Simulator API that can be used to transpile Typescript file to Lua with the Typescript to Lua transpiler.

Usage

Install the package

npm install --save-dev @typed-tabletop-simulator/declaration

Be sure to also install TSTL.

Configure your tsconfig.json to include those settings:

{
  "compilerOptions": {
    // required, because by default TS also includes esdom which already defines self
    // self is used in TTS to reference the object
    "lib": ["esnext"],
    // Include the types from this package as well as the Lua language extension from TSTL
    "types": ["@typed-tabletop-simulator/declaration", "@typescript-to-lua/language-extensions"]
  }
}
2.2.1

9 months ago

2.2.0

9 months ago

2.1.0

11 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.2.1

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago