import type { FC, PropsWithChildren } from 'react';export type FsFC
Home » Posts关于typescript:React18-FC-props没有children类型问题June 29, 2023 · 1 min · jieziimport 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>>;