File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,12 @@ class RscPluginManager {
125125 { }
126126 serverReferenceMetaMap : Record < string , ServerRerferenceMeta > = { }
127127 serverResourcesMetaMap : Record < string , { key : string } > = { }
128- // Keyed by [sourceEnv][resolvedId] to support same module imported from multiple environments
129128 environmentImportMetaMap : Record <
130- string ,
131- Record < string , EnvironmentImportMeta >
129+ string , // sourceEnv
130+ Record <
131+ string , // resolvedId
132+ EnvironmentImportMeta
133+ >
132134 > = { }
133135
134136 stabilize ( ) : void {
Original file line number Diff line number Diff line change @@ -4,12 +4,11 @@ declare global {
44 loadCss : ( importer ?: string ) => import ( 'react' ) . ReactNode
55 loadModule : < T > ( environmentName : string , entryName ?: string ) => Promise < T >
66 loadBootstrapScriptContent : ( entryName : string ) => Promise < string >
7-
8- // TODO: loadModule alternative
7+ /**
8+ * TODO: jsdoc
9+ * @experimental
10+ */
911 import : < T > ( specifier , attributes : { environment : string } ) => Promise < T >
10-
11- // TODO: loadBootstrapScriptContent alternative?
12- // import: (specifier, attributes: { asset: string }) => Promise<string>
1312 }
1413 }
1514
You can’t perform that action at this time.
0 commit comments