You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-3.x/reference/plugins/typescript.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ description: Generating TypeScript code from ZModel
8
8
9
9
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.
10
10
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
+
11
13
## Options
12
14
13
15
-`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