0.5.1 • Published 1 year ago

@typed-tabletop-simulator/ui v0.5.1

Weekly downloads
-
License
CC0-1.0
Repository
github
Last release
1 year 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/ui

Be sure to also install TSTL.

Configure your tsconfig.json to include those settings:

{
    "compilerOptions": {
        "jsx": "react",
        "jsxFactory": "XmlUi.createElement",
        "jsxFragmentFactory": "XmlUi.Fragment",
        // Include the types from this package as well as the Lua language extension from TSTL
        "types": ["@typed-tabletop-simulator/declaration", "@typed-tabletop-simulator/ui", "typescript-to-lua/language-extensions"]
    }
    }
}
0.5.1

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.2

1 year ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago