# types-ts-2take1 Typescript types for 2take1, used with [typescripttolua](https://typescripttolua.github.io) ## installing ### downloading types `npm i -D git+https://git@git.zomo.dev/zomo/types-ts-2take1` ### using types edit/create `tsconfig.json` ```json { "compilerOptions": { "types": [ "types-ts-2take1" ] } } ``` ## other recommended/optional settings ### general compiling options `tsconfig.json` ```json { "compilerOptions": { "target": "esnext", "lib": ["esnext"], "moduleResolution": "node", "strict": true, } } ``` ### issues compiling `tsconfig.json` ```json { "tstl": { "luaTarget": "universal", "luaLibImport": "inline", "luaBundle": "main.lua", "luaBundleEntry": "./path/to/main.ts", } } ```