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 = {
|
||||
if?: boolean;
|
||||
with: (typeof createElement.arguments)[0];
|
||||
wrapperProps: (typeof createElement.arguments)[1];
|
||||
with: Parameters<typeof createElement>[0];
|
||||
wrapperProps: Parameters<typeof createElement>[1];
|
||||
children: NonNullable<ReactNode>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user