summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-05-18 16:16:12 -0700
committerMatthew Miller <matthew@millerti.me>2022-05-18 16:16:12 -0700
commit41538dd2189f26dfe0dd74a426f8172d32e0c593 (patch)
tree01523abfb29dd1916271c389193bad776f63d369 /packages/typescript-types/src
parentc93517488b6efec5c72ff212b834f4c6138ad494 (diff)
Upgrade AuthenticatorTransport to "Future"
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index 6381b80..a2ac847 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -148,10 +148,11 @@ export interface AuthenticatorAttestationResponseFuture extends AuthenticatorAtt
}
/**
- * Communication methods by which an authenticator can talk with the browser to perform WebAuthn
- * registration and authentication.
+ * A super class of TypeScript's `AuthenticatorTransport` that includes support for the latest
+ * transports. Should eventually be replaced by TypeScript's when TypeScript gets updated to
+ * know about it (sometime after 4.6.3)
*/
-export type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb" | "cable";
+export type AuthenticatorTransportFuture = "ble" | "internal" | "nfc" | "usb" | "cable";
/**
* The two types of credentials as defined by bit 3 ("Backup Eligibility") in authenticator data: