mirror of
https://github.com/ershisan99/podcaster.git
synced 2025-12-16 20:59:26 +00:00
fix: Wrap props typing
This commit is contained in:
@@ -2,8 +2,8 @@ import { createElement, ReactNode } from "react";
|
|||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
if?: boolean;
|
if?: boolean;
|
||||||
with: (typeof createElement.arguments)[0];
|
with: Parameters<typeof createElement>[0];
|
||||||
wrapperProps: (typeof createElement.arguments)[1];
|
wrapperProps: Parameters<typeof createElement>[1];
|
||||||
children: NonNullable<ReactNode>;
|
children: NonNullable<ReactNode>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user