mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
//#region src/dom/script.d.ts
|
|
/**
|
|
* Load a script once. Concurrent and repeat calls for the same `src` share a
|
|
* single promise; failed loads are evicted (and the tag removed) so they can
|
|
* be retried.
|
|
*/
|
|
declare function loadScript(src: string): Promise<void>;
|
|
//#endregion
|
|
export { loadScript };
|
|
//# sourceMappingURL=script.d.ts.map
|