diff --git a/types/cheerio/index.d.ts b/types/cheerio/index.d.ts index 7ea8360849..8250848374 100644 --- a/types/cheerio/index.d.ts +++ b/types/cheerio/index.d.ts @@ -263,7 +263,7 @@ interface CheerioElement { parent: CheerioElement; parentNode: CheerioElement; nodeValue: string; - data: string; + data?: string; } interface CheerioAPI extends CheerioSelector, CheerioStatic {