diff --git a/pages/docs/tools/generator/api.md b/pages/docs/tools/generator/api.md index b51bc16d283e..41fb622f7a0d 100644 --- a/pages/docs/tools/generator/api.md +++ b/pages/docs/tools/generator/api.md @@ -47,7 +47,7 @@ Instantiates a new Generator object. - templateName `String` - Name of the template to generate. - targetDir `String` - Path to the directory where the files will be generated. - options `Object` - - [.templateParams] `String` - Optional parameters to pass to the template. Each template define their own params. + - [.templateParams] `Object.` - Optional parameters to pass to the template. Each template define their own params. - [.entrypoint] `String` - Name of the file to use as the entry point for the rendering process. Use in case you want to use only a specific template file. Note: this potentially avoids rendering every file in the template. - [.noOverwriteGlobs] `Array.` - List of globs to skip when regenerating the template. - [.disabledHooks] `Object.)>` - Object with hooks to disable. The key is a hook type. If key has "true" value, then the generator skips all hooks from the given type. If the value associated with a key is a string with the name of a single hook, then the generator skips only this single hook name. If the value associated with a key is an array of strings, then the generator skips only hooks from the array.