We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type
1 parent 872c635 commit 6d87c41Copy full SHA for 6d87c41
src/resources/types/field/fields.ts
@@ -86,7 +86,9 @@ export type ButtonField = ButtonFieldBase & {
86
onClick?: (model: FormModel, field: Field) => void;
87
}
88
89
-export type SwitchField = FieldBase
+export type SwitchField = FieldBase & {
90
+ type: 'switch';
91
+}
92
93
export type ResetField = ButtonFieldBase & {
94
type: 'reset';
0 commit comments