JsSyntheticModule Class
A Synthetic Module Record (https://tc39.es/ecma262/#sec-synthetic-module-records): a module whose exports are set by the host (e.g. a JSON module).
public sealed class JsSyntheticModule : JsModule- Inheritance
JsModuleJsSyntheticModule
Properties
| Name | Description |
|---|---|
| ExportNames | Gets the names of the exports of the module. |
ExportNames
JsSyntheticModule.csGets the names of the exports of the module.
public IReadOnlyList<string> ExportNames { get; }Property value
Methods
| Name | Description |
|---|---|
| SetExport(string, JsValue) | Sets the value of an export (SetSyntheticModuleExport). |