|
|
@ -1,13 +1,6 @@ |
|
|
|
declare module "preact/jsx-runtime" { |
|
|
|
declare module "preact/jsx-runtime" { |
|
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace -- preact uses namespaces, so we have too
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace -- preact uses namespaces, so we have too
|
|
|
|
namespace JSX { |
|
|
|
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
|
|
|
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- this is how declaration merging is done
|
|
|
|
interface IntrinsicElements { |
|
|
|
interface IntrinsicElements { |
|
|
|
"board-game": HTMLAttributes; |
|
|
|
"board-game": HTMLAttributes; |
|
|
|