类型:ModuleRequest
\Type: ModuleRequest
新增于: v24.4.0
-
类型:<Object>
\Type: <Object>
-
specifier<string> 请求模块的说明符。\
specifier<string> The specifier of the requested module. -
attributes<Object> 传递给 WithClause 的"with"值在 ImportDeclaration 中,如果未提供任何值,则为空对象。\
attributes<Object> The"with"value passed to the WithClause in a ImportDeclaration, or an empty object if no value was provided. -
phase<string> 请求模块("source"或"evaluation")的阶段。\
phase<string> The phase of the requested module ("source"or"evaluation").
-
ModuleRequest 表示导入具有给定导入属性和阶段的模块的请求。
\A ModuleRequest represents the request to import a module with given import attributes and phase.