import { NextPage , NextPageProps } from '~/interfaces/next' ; /**
 * Helper function to create next pages.
 */ export function createNextPage < P extends NextPage > ( page , opts = { } ) { return Object . assign ( page , opts ) ; }