securityos/utils/types.d.ts

12 lines
243 B
TypeScript

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