File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,33 +32,33 @@ export class Readability<T = string> {
32
32
33
33
parse ( ) : null | {
34
34
/** article title */
35
- title : string ;
35
+ title : string | null | undefined ;
36
36
37
37
/** HTML string of processed article content */
38
- content : T ;
38
+ content : T | null | undefined ;
39
39
40
40
/** text content of the article, with all the HTML tags removed */
41
- textContent : string ;
41
+ textContent : string | null | undefined ;
42
42
43
43
/** length of an article, in characters */
44
- length : number ;
44
+ length : number | null | undefined ;
45
45
46
46
/** article description, or short excerpt from the content */
47
- excerpt : string ;
47
+ excerpt : string | null | undefined ;
48
48
49
49
/** author metadata */
50
- byline : string ;
50
+ byline : string | null | undefined ;
51
51
52
52
/** content direction */
53
- dir : string ;
53
+ dir : string | null | undefined ;
54
54
55
55
/** name of the site */
56
- siteName : string ;
56
+ siteName : string | null | undefined ;
57
57
58
58
/** content language */
59
- lang : string ;
59
+ lang : string | null | undefined ;
60
60
61
61
/** published time */
62
- publishedTime : string ;
62
+ publishedTime : string | null | undefined ;
63
63
} ;
64
64
}
You can’t perform that action at this time.
0 commit comments