GeneratorPluginSetup #

Generator Plugin 的 setup()。它在 api 上注册钩子。

TypeScript
type GeneratorPluginSetup = (api: GeneratorPluginAPI) => MaybePromise<void>

编辑此页

评论