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

Types for subsoap's defos, extra native OS functions for games written using the Defold game engine

License

Notifications You must be signed in to change notification settings

thinknathan/tsd-defos-types

Repository files navigation

defOS Types

@types/tsd-defos

Chat with us!

TypeScript types for subsoap's DefOS, extra native OS functions for games written using the Defold game engine.

For use with TS-Defold and TypeScriptToLua.

Installation

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

TypeScript ❤️ Defold