0.0.4 • Published 4 years ago

tstl-roomy v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

TSTL Roomy

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

CommandDescription
yarn add -D tstl-roomyInstall these declarations
yarn add tesselode/roomyInstall 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";
0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago