mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
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:
parent
6f0270ef4c
commit
5768367453
2
html-to-text/index.d.ts
vendored
2
html-to-text/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user