File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
web/packages/hovercards/src Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,21 @@ import computePosition from './compute-position';
33import { escUrl , escHtml } from './sanitizer' ;
44import __ from './i18n' ;
55
6- type AccountData = Record < 'service_type' | 'service_label' | 'service_icon' | 'url' | 'is_hidden' , string > ;
6+ interface AccountData {
7+ service_type : string ;
8+ service_label : string ;
9+ service_icon : string ;
10+ url : string ;
11+ is_hidden : boolean ;
12+ }
713
8- export type VerifiedAccount = Record < 'type' | 'label' | 'icon' | 'url' | 'isHidden' , string > ;
14+ export interface VerifiedAccount {
15+ type : string ;
16+ label : string ;
17+ icon : string ;
18+ url : string ;
19+ isHidden : boolean ;
20+ }
921
1022export interface ProfileData {
1123 hash : string ;
You can’t perform that action at this time.
0 commit comments