Files
Stirling-PDF/frontend/editor/src/global.d.ts
T
James BruntonandGitHub e79f4a044f Make any typing linting opt-out instead of opt-in (#6542)
# 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.
2026-06-05 14:11:26 +00:00

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 {};