datart icon indicating copy to clipboard operation
datart copied to clipboard

前端本地启动报错

Open userActor opened this issue 2 years ago • 3 comments

No overload matches this call. 8 more ...; twoTone Overload 1 of 2, '(props: { cite?: string | undefined; data?: string | undefined; form?: string | undefined; label?: string | undefined; slot?: string | undefined; span?: number | undefined; style?: CSSProperties | undefined; ... 358 more ...; css?: CSSProp<...> | undefined; } & { ...; } & { ...; }): ReactElement<...>', gave the following error. Property 'rev' is missing in type '{}' but required in type '{ cite?: string | undefined; data?: string | undefined; form?: string | undefined; label?: string | undefined; slot?: string | undefined; span?: number | undefined; style?: CSSProperties | undefined; ... 358 more ...; css?: CSSProp<...> | undefined; }'. Overload 2 of 2, '(props: StyledComponentPropsWithAs & RefAttributes<...>>, ... 4 more ..., ForwardRefExoticComponent<...>>): ReactElement<...>', gave the following error. Property 'rev' is missing in type '{}' but required in type '{ cite?: string | undefined; data?: string | undefined; form?: string | /nodejs.org/api/err undefined; label?: string | undefined; slot?: string | undefined; span?: number | undefined; style?: CSSProperties | undefined; ... 358 more ...; css?: CSSProp<...> | undefined; }'. TS2769

34 |         setTitle(pendingTitle || t('authenticating'));
35 |         setDesc(pendingMessage || t('authenticatingDesc'));

36 | setIcon(<Loading />);

   |                  ^
37 |         break;
38 |       case AuthorizationStatus.Error:
39 |         setTitle(errorTitle || t('error'));

userActor avatar Aug 23 '23 09:08 userActor

https://github.com/ant-design/ant-design-icons/issues/354

https://github.com/ant-design/ant-design-icons/issues/483

Plortinus avatar Aug 26 '23 07:08 Plortinus

遇到同样的问题,请问解决了吗

azhengbot avatar Aug 26 '23 18:08 azhengbot

遇到同样的问题,请问解决了吗

升级 "@types/react": "17.0.65",

Plortinus avatar Aug 27 '23 06:08 Plortinus