kjelsrud.dev/node_modules/astro/dist/runtime/client/media.prebuilt.d.ts

8 lines
485 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
/**
* This file is prebuilt from packages/astro/src/runtime/client/media.ts
* Do not edit this directly, but instead edit that file and rerun the prebuild
* to generate this file.
*/
declare const _default: "(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();";
export default _default;