File tree 1 file changed +24
-26
lines changed
1 file changed +24
-26
lines changed Original file line number Diff line number Diff line change 1
- declare module "email-addresses" {
2
- export function parseOneAddress ( opts : string ) : ParsedEmailOutput ;
3
- export function parseAddressList ( opts : string ) : ParsedEmailOutput [ ] ;
4
- export interface ParsedEmailOutput {
5
- parts : {
6
- name : {
7
- tokens : string ;
8
- semantic : string ;
9
- } ;
10
- address : {
11
- tokens : string ;
12
- semantic :string ;
13
- } ;
14
- local : {
15
- tokens : string ;
16
- semantic :string ;
17
- } ;
18
- domain : {
19
- tokens : string ;
20
- semantic :string ;
21
- } ;
1
+ export function parseOneAddress ( opts : string ) : ParsedEmailOutput ;
2
+ export function parseAddressList ( opts : string ) : ParsedEmailOutput [ ] ;
3
+ export interface ParsedEmailOutput {
4
+ parts : {
5
+ name : {
6
+ tokens : string ;
7
+ semantic : string ;
22
8
} ;
23
- name : string ;
24
- address : string ;
25
- local : string ;
26
- domain : string ;
27
- }
9
+ address : {
10
+ tokens : string ;
11
+ semantic :string ;
12
+ } ;
13
+ local : {
14
+ tokens : string ;
15
+ semantic :string ;
16
+ } ;
17
+ domain : {
18
+ tokens : string ;
19
+ semantic :string ;
20
+ } ;
21
+ } ;
22
+ name : string ;
23
+ address : string ;
24
+ local : string ;
25
+ domain : string ;
28
26
}
You can’t perform that action at this time.
0 commit comments