refactor(wip): fix event handler #569
Annotations
10 errors
|
lint:
frontend/antdx/bubble/list/utils.tsx#L3
Module '"@ant-design/x/es/bubble/BubbleList.js"' has no exported member 'BubbleDataType'. Did you mean to use 'import BubbleDataType from "@ant-design/x/es/bubble/BubbleList.js"' instead?
|
|
lint:
frontend/antdx/bubble/list/bubble.list.tsx#L4
Module '"@ant-design/x/es/bubble/BubbleList.js"' has no exported member 'BubbleListProps'. Did you mean to use 'import BubbleListProps from "@ant-design/x/es/bubble/BubbleList.js"' instead?
|
|
lint:
frontend/antdx/bubble/bubble.tsx#L63
Type 'boolean | BubbleAnimationOption | ((content: string, info: Info) => boolean | BubbleAnimationOption) | { suffix: Element; effect?: "typing" | ... 1 more ... | undefined; step?: number | ... 1 more ... | undefined; interval?: number | undefined; keepPrefix?: boolean | undefined; } | undefined' is not assignable to type 'boolean | BubbleAnimationOption | ((content: string | Element, info: Info) => boolean | BubbleAnimationOption) | undefined'.
|
|
lint:
frontend/antdx/bubble/bubble.tsx#L42
Spread types may only be created from object types.
|
|
lint:
frontend/antdx/bubble/bubble.tsx#L27
Property 'messageRender' does not exist on type 'BubbleProps<string> & { slots: { footer?: HTMLElement | undefined; header?: HTMLElement | undefined; content?: HTMLElement | undefined; ... 5 more ...; messageRender?: HTMLElement | undefined; }; elRef?: ForwardedRef<...> | undefined; style?: CSSProperties | undefined; className?: string | undefined; id?: string | u...'.
|
|
lint:
frontend/antdx/attachments/file-card/file-card.tsx#L45
Property 'FileCard' does not exist on type 'ForwardRefExoticComponent<AttachmentsProps<any> & RefAttributes<AttachmentsRef>>'.
|
|
lint:
frontend/antdx/attachments/file-card/file-card.tsx#L4
Cannot find module '@ant-design/x/es/attachments/FileList/FileListCard' or its corresponding type declarations.
|
|
lint:
frontend/antdx/attachments/attachments.tsx#L172
Type '{ children: ReactElement<unknown, string | JSXElementConstructor<any>> | undefined; disabled: boolean; imageProps: any; getDropContainer: ((...args: any[]) => any) | undefined; ... 40 more ...; elRef?: ForwardedRef<...> | undefined; }' is not assignable to type 'IntrinsicAttributes & AttachmentsProps<any> & RefAttributes<AttachmentsRef>'.
|
|
lint:
frontend/antdx/attachments/attachments.tsx#L75
Property 'imageProps' does not exist on type 'Omit<AttachmentsProps<any>, "onChange" | "items"> & { onValueChange?: ((value: FileData[]) => void) | undefined; onChange?: ((value: string[]) => void) | undefined; upload: (files: RcFile[]) => Promise<...>; items: FileData[]; } & { ...; }'.
|
|
lint:
frontend/antd/steps/item/steps.item.tsx#L3
'"antd"' has no exported member named 'StepProps'. Did you mean 'StepsProps'?
|