mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 22:25:24 +00:00
Applied changes to solve several issues about typescript strict mode
This commit is contained in:
@@ -116,7 +116,10 @@ function parseCertificates(certificates: Schemas.CertificatesSchema) {
|
||||
|
||||
function getStringCertificates(
|
||||
certificates: Schemas.CertificatesSchema,
|
||||
): Record<keyof Schemas.CertificatesSchema, string> {
|
||||
): Record<
|
||||
keyof Omit<Schemas.CertificatesSchema, "signerKeyPassphrase">,
|
||||
string
|
||||
> & { signerKeyPassphrase?: string } {
|
||||
return {
|
||||
signerKeyPassphrase: certificates.signerKeyPassphrase,
|
||||
wwdr: Buffer.from(certificates.wwdr).toString("utf-8"),
|
||||
|
||||
Reference in New Issue
Block a user