Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinknathan/tsd-persist-types
TypeScript types for Klayton Kowalski's Persist, a simple interface for saving and loading data in a Defold game engine project
https://github.com/thinknathan/tsd-persist-types
defold defold-game-engine gamedev ts-defold tstl typescript typescript-definitions typescript-to-lua
Last synced: 2 days ago
JSON representation
TypeScript types for Klayton Kowalski's Persist, a simple interface for saving and loading data in a Defold game engine project
- Host: GitHub
- URL: https://github.com/thinknathan/tsd-persist-types
- Owner: thinknathan
- License: cc0-1.0
- Archived: true
- Created: 2024-01-26T07:10:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T05:30:31.000Z (about 1 year ago)
- Last Synced: 2024-10-25T09:48:27.436Z (3 months ago)
- Topics: defold, defold-game-engine, gamedev, ts-defold, tstl, typescript, typescript-definitions, typescript-to-lua
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @types/tsd-persist-types
> ❗ This repo will be archived after being contributed to the [Library](https://github.com/ts-defold/library).
TypeScript types for Klayton Kowalski's [Persist](https://github.com/klaytonkowalski/library-defold-persist), a simple interface for saving and loading data in a Defold game engine project.
For use with [TS-Defold](https://github.com/ts-defold) and [TypeScriptToLua](https://github.com/TypeScriptToLua).
## Installation
```bash
yarn add git+https://[email protected]/thinknathan/tsd-persist-types.git#^0.0.1 -D
# or
npm install git+https://[email protected]/thinknathan/tsd-persist-types.git#^0.0.1 --save-dev
```- Add `tsd-persist` to `types` in `tsconfig.json`
```diff
{
"compilerOptions": {
"types": [
+ "tsd-persist",
],
}
}
```- Add `node_modules/@types` to `typeRoots` in `tsconfig.json` if it's not already there
```diff
{
"compilerOptions": {
"typeRoots": [
+ "node_modules/@types",
],
}
}
```
TypeScript :heart: Defold