html-to-text: wordwrap option can be false/null

According to documentation, the "wordwrap" option can be either a number, false, or null.
This commit is contained in:
Jørgen Elgaard Larsen 2017-01-26 19:01:52 +01:00 committed by GitHub
parent 6f0270ef4c
commit 5768367453

View File

@ -39,7 +39,7 @@ interface HtmlToTextOptions {
* Defines after how many chars a line break should follow in p elements.
* Set to null or false to disable word-wrapping. Default: 80
*/
wordwrap?: number;
wordwrap?: number | false | null;
/**
* Allows to select certain tables by the class or id attribute from the HTML