tstl-roomy
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

TSTL Roomy

Declarations for roomy, a small screen-management lua module.

Command Description
yarn add -D tstl-roomy Install these declarations
yarn add tesselode/roomy Install roomy

Upon installation these declarations can be linked to a tsconfig.json file.

{
    "compilerOptions": {
        "types": [
            "tstl-roomy"
        ]
    }
}

And used within any .ts file.

import * as roomy from "roomy"

let manager = roomy.new();

love.load = () => {
    manager.hook();
}

Make sure to append ";./node_modules/?/?.lua" to your package.path in a conf.ts file (this is run first) to assist where Lua looks for modules.

package.path += ";./node_modules/?/?.lua";

/tstl-roomy/

    Package Sidebar

    Install

    npm i tstl-roomy

    Weekly Downloads

    5

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    4.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • maxiy01