Skip to content

Commit

Permalink
fix: from-element type
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Aug 1, 2022
1 parent d65a491 commit 361ba5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/from-element.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Class } from 'everyday-types'

import { kebab } from 'everyday-utils'
import * as jsxi from 'html-jsx'
import type * as jsxi from 'html-jsx'

import { jsx } from './jsx-runtime'

Expand Down Expand Up @@ -39,7 +39,7 @@ export type Component<T, I> =
/** Returns the tag name of the component. */
toString(): string
}
& ((props: Partial<Omit<T & I, keyof HTMLElement>> & jsxi.HTMLAttributes<T>) => JSX.Element)
& ((props: Partial<T & I> & jsxi.HTMLAttributes<T>) => JSX.Element)

let suffixKey = 0

Expand Down

0 comments on commit 361ba5e

Please sign in to comment.