sudovanilla-website/public/@shoelace-style/shoelace/cdn/components/include/request.d.ts

9 lines
317 B
TypeScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
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 {};