We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81c2de9 commit a8bbe3fCopy full SHA for a8bbe3f
types/index.d.ts
@@ -47,7 +47,7 @@ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
47
* Render into a container which is appended to document.body. It should be used with cleanup.
48
*/
49
export function render<
50
- Q extends Queries,
+ Q extends Queries = typeof queries,
51
Container extends Element | DocumentFragment = HTMLElement
52
>(
53
ui: React.ReactElement,
0 commit comments