diff --git a/pages/docs/tools/generator/api.md b/pages/docs/tools/generator/api.md index b6923a5e7a1..edf7a82e4f9 100644 --- a/pages/docs/tools/generator/api.md +++ b/pages/docs/tools/generator/api.md @@ -238,7 +238,7 @@ Sets up the output configuration based on the specified output type. **Example** ```js const generator = new Generator(); -generator.setupOutput(); +await generator.setupOutput(); ```