Demo application (tic-tac-toe game and more) built with Web Components, with progressive enhancement / graceful degradation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sample-tictactoe/src/jsx-augmentations.ts

10 lines
414 B

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 IntrinsicElements {
"board-game": HTMLAttributes;
"progressive-form-wrapper": HTMLAttributes;
}
}
}