migrate webauthn.js to typescript

This commit is contained in:
MaysWind
2025-01-11 23:49:47 +08:00
parent b166f6ff56
commit 395f7dfd63
9 changed files with 124 additions and 67 deletions
+9
View File
@@ -21,3 +21,12 @@ interface Window {
interface Navigator {
browserLanguage?: string;
}
interface Credential {
rawId: ArrayBuffer;
response: {
clientDataJSON: ArrayBuffer;
attestationObject: ArrayBuffer;
userHandle: ArrayBuffer;
};
}