Skip to content

Commit

Permalink
🤖 Merge PR #69462 [jsrsasign] add missing null type in X509CRL.getRev…
Browse files Browse the repository at this point in the history
…CertArray() by @bindon
  • Loading branch information
bindon committed May 3, 2024
1 parent 01e6938 commit 7193e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/jsrsasign/jsrsasign-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ ODI4MDQ1MTI5WjANBgkqhkiG9w0BAQQFAANBAJorY7DUJ91uthNlAA+PT6zw6rVo
uZLFeYZPNVXgF217YOCtJtKDT+16bR5kgk0p/1xIbgReshjMNTmXPqARNjE=
-----END X509 CRL-----`);
x509crl.getIssuer();
x509crl.getRevCertArray();
x509crl.getRevCertArray(); // $ExpectType RevokedCertificate[] | null
x509crl.findRevCert(PEM_CERTIFICATE);
x509crl.findRevCertBySN("0000");
x509crl.getParam();
2 changes: 1 addition & 1 deletion types/jsrsasign/modules/X509CRL.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare namespace jsrsasign {
* [{sn:"123a", date:"208025235959Z", ext: [{extname:"cRLReason",code:3}]},
* {sn:"123b", date:"208026235959Z", ext: [{extname:"cRLReason",code:0}]}]
*/
getRevCertArray(): RevokedCertificate[];
getRevCertArray(): RevokedCertificate[] | null;

/**
* get revokedCertificate JSON parameter<br/>
Expand Down

0 comments on commit 7193e57

Please sign in to comment.