Skip to content

Commit

Permalink
Merge branch 'bau-d-ts' of https://github.com/louwers/bau into news-h…
Browse files Browse the repository at this point in the history
…omepage
  • Loading branch information
FredericHeem committed Dec 19, 2024
2 parents 1656b44 + 8e47767 commit b5c94f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bau/bau.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface BindInput {
readonly deps: Deps;
readonly render: (input: {
element: HTMLElement;
readonly renderItem: RenderItem;
readonly renderItem: typeof RenderItem;
readonly oldValues: any[];
}) => (...args: readonly any[]) => HTMLElement | StatePrimitive;
readonly renderItem?: typeof RenderItem;
Expand Down Expand Up @@ -135,7 +135,7 @@ export type TagFunc<Result extends HTMLElement> = (
...rest: readonly ChildDom[]
) => Result;

type Tags = Readonly<Record<string, TagFunc<Element>>> & {
type Tags = Readonly<Record<string, TagFunc<HTMLElement>>> & {
[K in keyof HTMLElementTagNameMap]: TagFunc<HTMLElementTagNameMap[K]>;
};

Expand Down

0 comments on commit b5c94f7

Please sign in to comment.