(json: T)
| 6 | } |
| 7 | |
| 8 | export function jsonToBase64<T = Record<string, unknown>>(json: T): string { |
| 9 | return encodeBase64Url(JSON.stringify(json)); |
| 10 | } |
| 11 | |
| 12 | export const htmlToElement = <T extends Element>(html: string): T => { |
| 13 | const template = window.document.createElement("template"); |
no outgoing calls
no test coverage detected