Face-Recognition/next.d.ts
2024-04-16 16:48:06 +07:00

15 lines
486 B
TypeScript

import type { ACLObj } from 'src/configs/acl'
import type { ReactElement, ReactNode } from 'react'
import type { NextComponentType, NextPageContext } from 'next/dist/shared/lib/utils'
declare module 'next' {
export declare type NextPage<P = {}, IP = P> = NextComponentType<NextPageContext, IP, P> & {
acl?: ACLObj
authGuard?: boolean
guestGuard?: boolean
setConfig?: () => void
contentHeightFixed?: boolean
getLayout?: (page: ReactElement) => ReactNode
}
}