❗ This repo will be archived after being contributed to the Library.
TypeScript types for Klayton Kowalski's Persist, a simple interface for saving and loading data in a Defold game engine project.
For use with TS-Defold and TypeScriptToLua.
yarn add git+https://git@github.com/thinknathan/tsd-persist-types.git#^0.0.1 -D
# or
npm install git+https://git@github.com/thinknathan/tsd-persist-types.git#^0.0.1 --save-dev
- Add
tsd-persist
totypes
intsconfig.json
{
"compilerOptions": {
"types": [
+ "tsd-persist",
],
}
}
- Add
node_modules/@types
totypeRoots
intsconfig.json
if it's not already there
{
"compilerOptions": {
"typeRoots": [
+ "node_modules/@types",
],
}
}
TypeScript ❤️ Defold