Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

TypeScript types for Klayton Kowalski's Persist, a simple interface for saving and loading data in a Defold game engine project

License

Notifications You must be signed in to change notification settings

thinknathan/tsd-persist-types

Repository files navigation

Persist Types

@types/tsd-persist-types

Chat with us!

❗ 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.

Installation

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
{
	"compilerOptions": {
		"types": [
+			"tsd-persist",
		],
	}
}
  • Add node_modules/@types to typeRoots in tsconfig.json if it's not already there
{
	"compilerOptions": {
		"typeRoots": [
+			"node_modules/@types",
		],
	}
}

TypeScript ❤️ Defold

About

TypeScript types for Klayton Kowalski's Persist, a simple interface for saving and loading data in a Defold game engine project

Topics

Resources

License

Stars

Watchers

Forks