mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
# Description of Changes Reconfigure linting of `any` type to an opt-out instead of an opt-in strategy now that we're close enough to everything supporting it. Also slightly expands the scope of things included in the linting.
38 lines
832 B
TypeScript
38 lines
832 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, unknown>;
|
|
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 {};
|