TypeScript declarations for RPG Maker MZ (RMMZ).
Install this package by
$ npm install rmmz@npm:rmmz-types
# or just
$ npm install rmmz-types
Everything is exported at top level of the installed rmmz
(or rmmz-types
) module.
import { Window, $dataActors } from "rmmz"
import { DataCommand, Game_Interpreter } from "rmmz-types"
Set rmmz
as an external module in your project. And you might need to set module rmmz
as global varible
window
in your favorite bundler (Rollup, Esbuild, etc.).
Note that using this package does not give you access to RPG Maker MZ, which is a copyrighted project.