(component, options = {})
| 69 | * @returns {RenderOutput} |
| 70 | */ |
| 71 | export function render(component, options = {}) { |
| 72 | if (options.csp?.hash && options.csp.nonce) { |
| 73 | e.invalid_csp(); |
| 74 | } |
| 75 | return Renderer.render(/** @type {Component<Props>} */ (component), options); |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * @param {string} hash |
no test coverage detected