mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
# Description of Changes Follow on from #5949, expanding any type usage ban to the `desktop/` folder Also gets rid of a bunch of really verbose desktop logging that I don't think we really need anymore (or ever needed tbh, most of it doesn't make sense) because it was using a bunch of `any` typing and wasn't worth fixing.
38 lines
828 B
TypeScript
38 lines
828 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 global {
|
|
interface Window {
|
|
__STIRLING_PDF_BASE_URL__?: string;
|
|
STIRLING_PDF_API_BASE_URL?: string;
|
|
endpointAvailabilityService?: unknown;
|
|
}
|
|
}
|
|
|
|
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 {};
|