Skip to content

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

License

Notifications You must be signed in to change notification settings

maxiy01/tstl-roomy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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";

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published