React18 FC props没有children类型问题
文章目录
import type { FC, PropsWithChildren } from 'react';
export type FsFC<T = any> = FC<PropsWithChildren<T>>;import type { FC, PropsWithChildren } from 'react';
export type FsFC<T = any> = FC<PropsWithChildren<T>>;
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论