Comparing version 1.0.1 to 1.0.2
@@ -32,3 +32,3 @@ /** | ||
type ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>; | ||
type ComponentProps<I, E extends EventNames = {}> = Omit<React.HTMLAttributes<I>, keyof E> & EventListeners<E> & ElementProps<I>; | ||
type ComponentProps<I, E extends EventNames = {}> = Omit<React.HTMLAttributes<I>, keyof E | keyof ElementProps<I>> & EventListeners<E> & ElementProps<I>; | ||
/** | ||
@@ -35,0 +35,0 @@ * Type used to cast an event name with an event type when providing the |
@@ -32,3 +32,3 @@ /** | ||
type ElementProps<I> = Partial<Omit<I, keyof HTMLElement>>; | ||
type ComponentProps<I, E extends EventNames = {}> = Omit<React.HTMLAttributes<I>, keyof E> & EventListeners<E> & ElementProps<I>; | ||
type ComponentProps<I, E extends EventNames = {}> = Omit<React.HTMLAttributes<I>, keyof E | keyof ElementProps<I>> & EventListeners<E> & ElementProps<I>; | ||
/** | ||
@@ -35,0 +35,0 @@ * Type used to cast an event name with an event type when providing the |
{ | ||
"name": "@lit/react", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A React component wrapper for web components.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145593