Skip to content

Overview / CatPlugin

CatPlugin

const CatPlugin: Readonly<object>

Type declaration

NameTypeDescription
on<T>(event, fn) => PluginEvent<T>Add an event to the plugin
settings<T>(schema) => ZodObject<T, "strip", ZodTypeAny, { [k in string | number | symbol]: addQuestionMarks<baseObjectOutputType<T>, any>[k] }, { [k_1 in string | number | symbol]: baseObjectInputType<T>[k_1] }>Add some settings to the plugin

Released under the GPL-3.0 License.