mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 02:54:06 +02:00
PostHog is now initialized with persistence: 'memory' so no cookies are written on first load. Consent is handled in a PostHogConsentSync component that switches to localStorage+cookie persistence only when the user accepts, using the official @posthog/react package (cherry-picked from 14aaf64) --------- Co-authored-by: James Brunton <[email protected]>
30 lines
661 B
TypeScript
30 lines
661 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;
|
|
}
|
|
}
|
|
|
|
export { };
|