sudovanilla-website/public/@shoelace-style/shoelace/cdn/components/include/request.d.ts
2024-05-13 23:34:06 -04:00

8 lines
317 B
TypeScript

interface IncludeFile {
ok: boolean;
status: number;
html: string;
}
/** Fetches an include file from a remote source. Caching is enabled so the origin is only pinged once. */
export declare function requestInclude(src: string, mode?: 'cors' | 'no-cors' | 'same-origin'): Promise<IncludeFile>;
export {};