Initial boiler plate project
This commit is contained in:
50
node_modules/next/dist/shared/lib/html-context.shared-runtime.d.ts
generated
vendored
Normal file
50
node_modules/next/dist/shared/lib/html-context.shared-runtime.d.ts
generated
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
/// <reference types="react" />
|
||||
import type { BuildManifest } from '../../server/get-page-files';
|
||||
import type { ServerRuntime } from 'next/types';
|
||||
import type { NEXT_DATA } from './utils';
|
||||
import type { FontConfig } from '../../server/font-utils';
|
||||
import type { NextFontManifest } from '../../build/webpack/plugins/next-font-manifest-plugin';
|
||||
import type { DeepReadonly } from './deep-readonly';
|
||||
export type HtmlProps = {
|
||||
__NEXT_DATA__: NEXT_DATA;
|
||||
strictNextHead: boolean;
|
||||
dangerousAsPath: string;
|
||||
docComponentsRendered: {
|
||||
Html?: boolean;
|
||||
Main?: boolean;
|
||||
Head?: boolean;
|
||||
NextScript?: boolean;
|
||||
};
|
||||
buildManifest: BuildManifest;
|
||||
ampPath: string;
|
||||
inAmpMode: boolean;
|
||||
hybridAmp: boolean;
|
||||
isDevelopment: boolean;
|
||||
dynamicImports: string[];
|
||||
assetPrefix?: string;
|
||||
canonicalBase: string;
|
||||
headTags: any[];
|
||||
unstable_runtimeJS?: false;
|
||||
unstable_JsPreload?: false;
|
||||
assetQueryString: string;
|
||||
scriptLoader: {
|
||||
afterInteractive?: string[];
|
||||
beforeInteractive?: any[];
|
||||
worker?: any[];
|
||||
};
|
||||
locale?: string;
|
||||
disableOptimizedLoading?: boolean;
|
||||
styles?: React.ReactElement[] | React.ReactFragment;
|
||||
head?: Array<JSX.Element | null>;
|
||||
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
||||
optimizeCss?: any;
|
||||
optimizeFonts?: FontConfig;
|
||||
nextConfigOutput?: 'standalone' | 'export';
|
||||
nextScriptWorkers?: boolean;
|
||||
runtime?: ServerRuntime;
|
||||
hasConcurrentFeatures?: boolean;
|
||||
largePageDataBytes?: number;
|
||||
nextFontManifest?: DeepReadonly<NextFontManifest>;
|
||||
};
|
||||
export declare const HtmlContext: import("react").Context<HtmlProps | undefined>;
|
||||
export declare function useHtmlContext(): HtmlProps;
|
||||
Reference in New Issue
Block a user