https://github.com/thinknathan/tsd-defos-types
Types for subsoap's defos, extra native OS functions for games written using the Defold game engine
https://github.com/thinknathan/tsd-defos-types
defold defold-game-engine gamedev tstl typescript typescript-definitions typescript-to-lua
Last synced: 6 months ago
JSON representation
Types for subsoap's defos, extra native OS functions for games written using the Defold game engine
- Host: GitHub
- URL: https://github.com/thinknathan/tsd-defos-types
- Owner: thinknathan
- License: cc0-1.0
- Archived: true
- Created: 2024-01-09T01:05:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T01:08:07.000Z (over 2 years ago)
- Last Synced: 2025-01-31T11:35:55.662Z (about 1 year ago)
- Topics: defold, defold-game-engine, gamedev, tstl, typescript, typescript-definitions, typescript-to-lua
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# @types/tsd-defos
TypeScript types for subsoap's [DefOS](https://github.com/subsoap/defos), extra native OS functions for games written using the Defold game engine.
For use with [TS-Defold](https://github.com/ts-defold) and [TypeScriptToLua](https://github.com/TypeScriptToLua).
## Installation
```bash
yarn add git+https://git@github.com/thinknathan/tsd-defos-types.git#^1.0.0 -D
# or
npm install git+https://git@github.com/thinknathan/tsd-defos-types.git#^1.0.0 --save-dev
```
- Add `tsd-defos` to `types` in `tsconfig.json`
```diff
{
"compilerOptions": {
"types": [
+ "tsd-defos",
],
}
}
```
- Add `node_modules/@types` to `typeRoots` in `tsconfig.json` if it's not already there
```diff
{
"compilerOptions": {
"typeRoots": [
+ "node_modules/@types",
],
}
}
```
TypeScript :heart: Defold