Reference

renderScriptAsset

Appends an external script tag with optional nonce and integrity attributes.

Signature

function renderScriptAsset(sink: HtmlSink, options: ScriptAssetOptions): void