Fix type check

This commit is contained in:
Reinier Criel 2025-11-27 14:02:37 -08:00
parent d863cc6920
commit 26157cf5a7

View file

@ -99,7 +99,7 @@ export function generateCertForHost(hostname) {
keyIdentifier: authorityKeyIdentifier,
},
]);
cert.sign(ca.privateKey, forge.md.sha256.create());
cert.sign(/** @type {any} */ (ca.privateKey), forge.md.sha256.create());
const result = {
privateKey: forge.pki.privateKeyToPem(keys.privateKey),