Skip to content

Commit 76d5b4d

Browse files
authored
Update TypeScript plugin documentation (#493)
Added note about automatic execution of the TypeScript plugin.
1 parent 22d2ae6 commit 76d5b4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

versioned_docs/version-3.x/reference/plugins/typescript.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ description: Generating TypeScript code from ZModel
88

99
The `@core/typescript` plugin generates TypeScript code from ZModel. The generated code is used to access the schema at runtime, as well as type declarations at development time.
1010

11+
**Note:** This plugin runs automatically when you execute `zenstack generate`, even if not explicitly declared in your schema. You only need to declare it if you want to customize its options.
12+
1113
## Options
1214

1315
- `output`: Specifies the output directory for the generated TypeScript code. If a relative path is provided, it will be resolved relative to the ZModel schema.

0 commit comments

Comments
 (0)