Skip to content

Commit

Permalink
fix: email type (storacha#492)
Browse files Browse the repository at this point in the history
Literally the string '{string}@{string}' 🙈
  • Loading branch information
Alan Shaw authored Mar 30, 2023
1 parent 8fc4915 commit 7cc6f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/w3ui/packages/keyring-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export interface KeyringContextActions {
/**
* Authorize this device to act as the account linked to email.
*/
authorize: (email: '{string}@{string}') => Promise<void>
authorize: (email: `${string}@${string}`) => Promise<void>
/**
* Abort an ongoing account authorization.
*/
Expand Down

0 comments on commit 7cc6f30

Please sign in to comment.