Skip to content

Commit

Permalink
fix: email type (#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 30f5efa commit c09011b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 c09011b

Please sign in to comment.