if (navigator.credentials && window.PublicKeyCredential) {
const available = await window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable
我正在尝试实现Web OTP API Typescript Typings issue - Missing Types in TypeScript中描述的解决方案,但是我得到了以下错误: Property 'code' does not exist on type 'CredentialType'. 有没有人能帮我理解和解决这个问题? 示例: async otpRequest() {
const abortController = new Abor