Skip to content

Commit

Permalink
fix(react-mnt): 🐛 update component type
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyghiani committed Nov 23, 2023
1 parent 6a6c06c commit 05fa0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-mnt/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface MntComponent<
> extends React.ForwardRefExoticComponent<
React.PropsWithoutRef<Props> & React.RefAttributes<unknown>
> {
<TAs extends MntComponentType>(_props: MntComponentProps<TAs, Props>): React.ReactNode;
<TAs extends MntComponentType>(_props: MntComponentProps<TAs, Props>): JSX.Element;

_classesFactory: ClassesFactory<Props>;
_paramsFactory: MntParamsFactory<Props>;
Expand Down
1 change: 1 addition & 0 deletions tsconfig.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"ignoreDeprecations": "5.0",
"incremental": true,
"isolatedModules": true,
"jsx": "react",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
Expand Down

0 comments on commit 05fa0e8

Please sign in to comment.