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 <james@stirlingpdf.com>
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 { };
|