Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/components/include/request.d.ts
2024-01-30 10:59:28 -05: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 {};