Loading...
mutiro agent dev types

Write mutiro.d.ts and a tsconfig.json at the config root

Synopsis

Write the type declarations for owner-authored code at the config root: the prelude's globals (ValidationError, Handoff, console), the "mutiro" and "mutiro/test" modules, and the shapes of a tool's run, the three hooks and a page handler.

A tsconfig.json is written when none exists.

Nothing in the runtime reads these files; they are for the editor and for tsc, which "dev check" runs when it is on the path.

Rerun after upgrading the CLI.

mutiro agent dev types <config-root> [flags]

Usage mutiro agent dev types <config-root> [flags]
Options
Flag Type Description
-h, --help bool help for types
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro agent dev