Files
Stirling-PDF/frontend/src/global.d.ts
T

42 lines
960 B
TypeScript

declare module "*.js";
declare module '*.module.css';
// Auto-generated icon set JSON import
declare module 'assets/material-symbols-icons.json' {
const value: {
prefix: string;
icons: Record<string, any>;
width?: number;
height?: number;
};
export default value;
}
declare module 'axios' {
export interface AxiosRequestConfig<_D = unknown> {
suppressErrorToast?: boolean;
skipAuthRedirect?: boolean;
skipBackendReadyCheck?: boolean;
}
export interface InternalAxiosRequestConfig<_D = unknown> {
suppressErrorToast?: boolean;
skipAuthRedirect?: boolean;
skipBackendReadyCheck?: boolean;
}
}
declare module 'posthog-js/react' {
import { ReactNode } from 'react';
import posthogJs, { PostHogConfig } from 'posthog-js';
export const PostHogProvider: React.FC<{
client?: typeof posthogJs;
options?: Partial<PostHogConfig>;
apiKey?: string;
children?: ReactNode;
}>;
}
export { };