fix(web): correct `InputVar` type definition

- Change the `hide` field in the `InputVar` type from required to optional to fix the editor's type error
pull/20865/head
zhujiruo 12 months ago
parent cede695923
commit 72349e9acc

@ -198,7 +198,7 @@ export type InputVar = {
hint?: string hint?: string
options?: string[] options?: string[]
value_selector?: ValueSelector value_selector?: ValueSelector
hide: boolean hide?: boolean
} & Partial<UploadFileSetting> } & Partial<UploadFileSetting>
export type ModelConfig = { export type ModelConfig = {

Loading…
Cancel
Save