declare module "preact/jsx-runtime" { // eslint-disable-next-line @typescript-eslint/no-namespace -- preact uses namespaces, so we have too namespace JSX { // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- this is how declaration merging is done interface HTMLAttributes { // custom attribute used by query-tracker web components delta?: string; track?: string; } // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- this is how declaration merging is done interface IntrinsicElements { "board-game": HTMLAttributes; } } }