chore: 处理Scope中setData参数声明 (#6036)

This commit is contained in:
RUNZE LU 2023-01-09 15:41:31 +08:00 committed by GitHub
parent c3b93e3a35
commit de7d67981e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ export interface ScopedComponentType extends React.Component<RendererProps> {
) => void;
context: any;
setData?: (
value?: string | {[key: string]: string},
value?: object,
replace?: boolean,
index?: number
) => void;