@umijs/renderer-react 4.6.52 → 4.6.54
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/dist/browser.d.ts +1 -1
- package/dist/link.d.ts +1 -5
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/browser.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import ReactDOM from 'react-dom/client';
|
|
4
4
|
import { IRouteComponents, IRoutesById } from './types';
|
|
5
5
|
export declare function __getRoot(): ReactDOM.Root | null;
|
|
6
|
-
export declare function Routes():
|
|
6
|
+
export declare function Routes(): any;
|
|
7
7
|
/**
|
|
8
8
|
* umi 渲染需要的配置,在node端调用的哦
|
|
9
9
|
*/
|
package/dist/link.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const LinkWithPrefetch: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<{
|
|
4
|
-
prefetch?: boolean | "viewport" | "render" | "intent" | "none" | undefined;
|
|
5
|
-
prefetchTimeout?: number | undefined;
|
|
6
|
-
} & LinkProps & React.RefAttributes<HTMLAnchorElement>>, "ref"> & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const LinkWithPrefetch: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED