argument with options treat as enum

This commit is contained in:
codetypes committed 2025-03-25 22:40:40 +08:00
1 parent 49bfc76fc6
commit 767d8aba95
14 files changed
+105 -133

No files matched your search

+4 -8
View File
@@ -45,14 +45,10 @@ export interface NodeDef {
| "json?"
| "json[]"
| "json[]?"
| "enum"
| "enum?"
| "enum[]"
| "enum[]?"
| "code"
| "code?"
| "code[]"
| "code[]?";
| "expr"
| "expr?"
| "expr[]"
| "expr[]?";
desc: string;
default?: unknown;
/** Input `value`, only one is allowed between `value` and this arg.*/