@moneko/react 1.7.3 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/error-boundary.d.tsx
CHANGED
|
@@ -11,7 +11,7 @@ export interface ErrorBoundaryState {
|
|
|
11
11
|
}
|
|
12
12
|
declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, Partial<ErrorBoundaryState>> {
|
|
13
13
|
constructor(props: ErrorBoundaryProps);
|
|
14
|
-
componentDidCatch(error: ErrorBoundaryState['error'], errorInfo: ErrorBoundaryState['errorInfo']);
|
|
15
|
-
render();
|
|
14
|
+
componentDidCatch(error: ErrorBoundaryState['error'], errorInfo: ErrorBoundaryState['errorInfo']): void;
|
|
15
|
+
render(): React.ReactNode;
|
|
16
16
|
}
|
|
17
17
|
export default ErrorBoundary;
|
|
@@ -5,5 +5,5 @@ export interface IPath extends Partial<Omit<Path, 'search'>> {
|
|
|
5
5
|
search?: string | URLSearchParams | string[][] | Record<string, string>;
|
|
6
6
|
}
|
|
7
7
|
export type To = string | IPath;
|
|
8
|
-
declare const parseToByReservedWord: (to: To, reserved?: string | string[]) =>
|
|
8
|
+
declare const parseToByReservedWord: (to: To, reserved?: string | string[]) => Partial<Path>;
|
|
9
9
|
export default parseToByReservedWord;
|
package/lib/use-query.d.ts
CHANGED