diff --git a/src/@awesome-cordova-plugins/plugins/ssl-certificate-checker/index.ts b/src/@awesome-cordova-plugins/plugins/ssl-certificate-checker/index.ts index 5ff621914..76f8f0fe6 100644 --- a/src/@awesome-cordova-plugins/plugins/ssl-certificate-checker/index.ts +++ b/src/@awesome-cordova-plugins/plugins/ssl-certificate-checker/index.ts @@ -42,7 +42,7 @@ export class SSLCertificateChecker extends AwesomeCordovaNativePlugin { * @return {Promise} Returns a promise that resolves if the certificate is valid, otherwise rejects with an error. */ @Cordova() - check(serverURL: string, allowedFingerprint: string): Promise { + check(serverURL: string, allowedFingerprint: string | string[]): Promise { return; } @@ -56,7 +56,7 @@ export class SSLCertificateChecker extends AwesomeCordovaNativePlugin { * @deprecated This function is considered insecure. */ @Cordova() - checkInCertChain(serverURL: string, allowedFingerprint: string): Promise { + checkInCertChain(serverURL: string, allowedFingerprint: string | string[]): Promise { return; } }