Interface: ScriptHandlerOptions
Properties
| Property | Type | Description |
|---|---|---|
manifestUrl | string | Manifest URL produced by the script build (scripts/manifest.json). |
bundleUrl | string | Bundled ESM URL produced by the script build. |
fetch? | (input, init?) => Promise<Response> | - |
loadModule? | ScriptModuleLoader | Overrides the module loader; defaults to Blob URL + dynamic import. |
createObjectURL? | (source) => string | null | Overrides Blob URL creation (tests / custom hosts). |
revokeObjectURL? | (url) => void | Overrides Blob URL revocation (tests / custom hosts). |
Methods
log()?
ts
log?(...args): void;Parameters
| Parameter | Type |
|---|---|
...args | unknown[] |
Returns
void
warn()?
ts
warn?(...args): void;Parameters
| Parameter | Type |
|---|---|
...args | unknown[] |
Returns
void
error()?
ts
error?(...args): void;Parameters
| Parameter | Type |
|---|---|
...args | unknown[] |
Returns
void
