TypeScript types for britzl's boom, a game framework built on top of Defold.
For use with TS-Defold and TypeScriptToLua.
yarn add git+https://git@github.com/thinknathan/tsd-boom-types.git#^1.0.0 -D
# or
npm install git+https://git@github.com/thinknathan/tsd-boom-types.git#^1.0.0 --save-dev
- Add
tsd-boom
totypes
intsconfig.json
{
"compilerOptions": {
"types": [
+ "tsd-boom",
],
}
}
- Add
node_modules/@types
totypeRoots
intsconfig.json
if it's not already there
{
"compilerOptions": {
"typeRoots": [
+ "node_modules/@types",
],
}
}
You can now import boom
in your TypeScript like this:
import { boom } from 'boom.boom';
TypeScript ❤️ Defold
MIT