Modify data attribute of CheerioElement

`data` attribute is  a option field.
This commit is contained in:
Yu-Hsin Lu
2017-11-23 14:42:28 +08:00
committed by GitHub
parent c8196d8e75
commit 83146bf4e5
+1 -1
View File
@@ -263,7 +263,7 @@ interface CheerioElement {
parent: CheerioElement;
parentNode: CheerioElement;
nodeValue: string;
data: string;
data?: string;
}
interface CheerioAPI extends CheerioSelector, CheerioStatic {