InputFormula 公式编辑器 添加clearDefaultFormula 属性,可清除默认函数 #6522
Triggered via pull request
September 7, 2023 08:58
Status
Failure
Total duration
16m 33s
Artifacts
–
Annotations
5 errors and 2 warnings
build (16.x):
packages/amis-editor/src/renderer/DataPickerControl.tsx#L1
Property 'clearDefaultFormula' is missing in type '{ children: ({ onClick }: { onClick: (e: MouseEvent<Element, MouseEvent>) => void; }) => Element; onPickerOpen: () => Promise<{ variables: any; variableMode: string; }>; ... 63 more ...; showErrorMsg?: boolean | undefined; }' but required in type 'Readonly<OuterProps>'.
|
build (16.x):
packages/amis-editor/src/renderer/ExpressionFormulaControl.tsx#L1
No overload matches this call.
|
build (16.x):
packages/amis-editor/src/renderer/textarea-formula/FormulaPicker.tsx#L1
Property 'clearDefaultFormula' is missing in type '{ header: string; variables: any[]; variableMode: "tree" | "tabs" | undefined; value: string; evalMode: boolean; onChange: (data: any) => void; onConfirm: (data: string) => void; onClose: () => void; initable?: boolean | undefined; }' but required in type 'Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "className" | "classnames" | "value" | "variableMode" | "header" | "style" | ... 9 more ... | "editorOptions"> & { ...; } & { ...; }, keyof ThemeProps> & ThemeOutterProps>'.
|
build (16.x):
packages/amis-ui/src/components/condition-builder/GroupOrItem.tsx#L1
Type '{ children: ({ onClick }: { onClick: (e: MouseEvent<Element, MouseEvent>) => void; setState: (state: any) => void; isOpened: boolean; }) => Element; ... 39 more ...; editorOptions?: any; }' is not assignable to type 'Readonly<OuterProps>'.
|
build (16.x)
Process completed with exit code 2.
|
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (16.x)
Unexpected input(s) 'repo-token', valid inputs are ['always-auth', 'node-version', 'registry-url', 'scope', 'version']
|