diff --git a/packages/react-mnt/src/index.tsx b/packages/react-mnt/src/index.tsx index 563281e..b100634 100644 --- a/packages/react-mnt/src/index.tsx +++ b/packages/react-mnt/src/index.tsx @@ -46,7 +46,7 @@ export interface MntComponent< > extends React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes > { - (_props: MntComponentProps): React.ReactNode; + (_props: MntComponentProps): JSX.Element; _classesFactory: ClassesFactory; _paramsFactory: MntParamsFactory; diff --git a/tsconfig.settings.json b/tsconfig.settings.json index 0961f01..52068d1 100644 --- a/tsconfig.settings.json +++ b/tsconfig.settings.json @@ -5,6 +5,7 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "ignoreDeprecations": "5.0", + "incremental": true, "isolatedModules": true, "jsx": "react", "lib": ["ES2022", "DOM", "DOM.Iterable"],