securityos/utils/types.d.ts

12 lines
243 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* Functional Component
*/
type FC<TProps = Record<string, unknown>> = (
props: React.PropsWithChildren<TProps>
) => JSX.Element | null;
type HTMLElementWithPriority<T> = T & {
fetchPriority?: "auto" | "high" | "low";
};