Release 2025-05-19

This commit is contained in:
pluja
2025-05-19 10:23:36 +00:00
parent 2657f936bc
commit 565e9a0ad1
267 changed files with 49417 additions and 0 deletions

11
web/src/lib/astro.ts Normal file
View File

@@ -0,0 +1,11 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/no-empty-object-type */
import type { ComponentProps, HTMLTag, Polymorphic } from 'astro/types'
export type AstroComponent = (args: any) => any
export type PolymorphicComponent<Component extends AstroComponent | HTMLTag> =
(Component extends AstroComponent ? ComponentProps<Component> & { as?: Component } : {}) &
(Component extends HTMLTag ? Polymorphic<{ as: Component }> : {})
export type AstroChildren = any