-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Expand file tree
/
Copy pathrsc-types.d.ts
More file actions
38 lines (32 loc) · 975 Bytes
/
rsc-types.d.ts
File metadata and controls
38 lines (32 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
declare module "virtual:react-router/unstable_rsc/routes" {
import type { unstable_RSCRouteConfig as RSCRouteConfig } from "react-router";
const routes: RSCRouteConfig;
export default routes;
}
declare module "virtual:react-router/unstable_rsc/basename" {
const basename: string;
export default basename;
}
declare module "virtual:react-router/unstable_rsc/ssr" {
const ssr: boolean;
export default ssr;
}
declare module "virtual:react-router/unstable_rsc/react-router-serve-config" {
const unstable_reactRouterServeConfig: {
publicPath: string;
assetsBuildDirectory: string;
};
export default unstable_reactRouterServeConfig;
}
declare module "virtual:react-router/unstable_rsc/route-discovery" {
const routeDiscovery:
| {
mode: "initial";
}
| {
mode: "lazy";
manifestPath?: string;
};
export default routeDiscovery;
}
declare module "virtual:react-router/unstable_rsc/inject-hmr-runtime" {}