[TS] Use correct types for components
This commit is contained in:
parent
9fb99ced74
commit
69c2544b99
1 changed files with 2 additions and 2 deletions
4
src/def.d.ts
vendored
4
src/def.d.ts
vendored
|
@ -366,8 +366,8 @@ interface VendettaObject {
|
|||
Search: _React.ComponentType;
|
||||
Alert: _React.ComponentType;
|
||||
// Vendetta
|
||||
Summary: (props: SummaryProps) => JSX.Element;
|
||||
ErrorBoundary: (props: ErrorBoundaryProps) => JSX.Element;
|
||||
Summary: _React.ComponentType<SummaryProps>;
|
||||
ErrorBoundary: _React.ComponentType<ErrorBoundaryProps>;
|
||||
}
|
||||
toasts: {
|
||||
showToast: (content: string, asset: number) => void;
|
||||
|
|
Loading…
Reference in a new issue