|
23 | 23 | // So `$$$config` looks like a global variable, but it's |
24 | 24 | // really an argument to a top-level wrapping function. |
25 | 25 |
|
26 | | -declare var $$$hostConfig: any; |
| 26 | +declare var $$$config: any; |
27 | 27 |
|
28 | 28 | export type Response = any; |
29 | 29 | export opaque type SSRManifest = mixed; |
30 | 30 | export opaque type ServerManifest = mixed; |
31 | 31 | export opaque type ServerReferenceId = string; |
32 | 32 | export opaque type ClientReferenceMetadata = mixed; |
33 | 33 | export opaque type ClientReference<T> = mixed; // eslint-disable-line no-unused-vars |
34 | | -export const resolveClientReference = $$$hostConfig.resolveClientReference; |
35 | | -export const resolveServerReference = $$$hostConfig.resolveServerReference; |
36 | | -export const preloadModule = $$$hostConfig.preloadModule; |
37 | | -export const requireModule = $$$hostConfig.requireModule; |
| 34 | +export const resolveClientReference = $$$config.resolveClientReference; |
| 35 | +export const resolveServerReference = $$$config.resolveServerReference; |
| 36 | +export const preloadModule = $$$config.preloadModule; |
| 37 | +export const requireModule = $$$config.requireModule; |
38 | 38 |
|
39 | 39 | export opaque type Source = mixed; |
40 | 40 |
|
41 | 41 | export type UninitializedModel = string; |
42 | | -export const parseModel = $$$hostConfig.parseModel; |
| 42 | +export const parseModel = $$$config.parseModel; |
43 | 43 |
|
44 | 44 | export opaque type StringDecoder = mixed; // eslint-disable-line no-undef |
45 | 45 |
|
46 | | -export const supportsBinaryStreams = $$$hostConfig.supportsBinaryStreams; |
47 | | -export const createStringDecoder = $$$hostConfig.createStringDecoder; |
48 | | -export const readPartialStringChunk = $$$hostConfig.readPartialStringChunk; |
49 | | -export const readFinalStringChunk = $$$hostConfig.readFinalStringChunk; |
| 46 | +export const supportsBinaryStreams = $$$config.supportsBinaryStreams; |
| 47 | +export const createStringDecoder = $$$config.createStringDecoder; |
| 48 | +export const readPartialStringChunk = $$$config.readPartialStringChunk; |
| 49 | +export const readFinalStringChunk = $$$config.readFinalStringChunk; |
0 commit comments