import * as ReactRouter from 'react-router'; import * as History from 'history'; import * as React from 'react'; import * as ChunkExtractor from '@loadable/server'; declare module 'format-message-generate-id'; declare module 'apollo-link' { import { ApolloLink } from '@apollo/client'; // Fix usage of graphql-tools using older apollo-link type ApolloLink = ApolloLink; } declare global { let __IN_SERVER__: boolean; let __USE_SENTRY__: boolean; } declare module 'history' { export type Location = { state?: { type: any; list: any; }; }; } declare module 'react-router' { export namespace History { export type LocationState = { list: any; type: any; }; } } declare module '@loadable/server' { export interface ChunkExtractorManagerProps { extractor: ChunkExtractor; children: React.ReactNode; } } declare module 'react' { type StatelessComponent
= FunctionComponent
; type FC
= FunctionComponent
; type SFC
= FunctionComponent
; interface FunctionComponent
{ (props: PropsWithChildren
, context?: any): ReactElement ;
contextTypes?: ValidationMap ;
displayName?: string;
}
}
declare module 'history' {
export type Location = {
state?: {
type: any;
list: any;
};
};
}
declare module 'react-router' {
export interface StaticRouterProps {
basename?: string | undefined;
children?: React.ReactNode;
location?: string | object | undefined;
context?: StaticRouterContext | undefined;
}
export namespace History {
export type LocationState = {
list: any;
type: any;
};
}
}