diff --git a/types/inline-css/index.d.ts b/types/inline-css/index.d.ts index 2cd05b79e0..5fd123f588 100644 --- a/types/inline-css/index.d.ts +++ b/types/inline-css/index.d.ts @@ -17,6 +17,7 @@ declare namespace InlineCss { preserveMediaQueries?: boolean; applyWidthAttributes?: boolean; applyTableAttributes?: boolean; + removeHtmlSelectors?: boolean; } } diff --git a/types/inline-css/inline-css-tests.ts b/types/inline-css/inline-css-tests.ts index 8fd6307dfe..33b74081a9 100644 --- a/types/inline-css/inline-css-tests.ts +++ b/types/inline-css/inline-css-tests.ts @@ -1,10 +1,9 @@ - import inlineCss = require('inline-css'); var str: string; var bool: boolean; -var options:inlineCss.Options; +var options: inlineCss.Options; str = options.url; str = options.extraCss; @@ -16,19 +15,19 @@ bool = options.removeLinkTags; bool = options.preserveMediaQueries; bool = options.applyWidthAttributes; bool = options.applyTableAttributes; +bool = options.removeHtmlSelectors; options = { - url: str, - extraCss: str, - applyStyleTags: bool, - applyLinkTags: bool, - removeStyleTags: bool, - removeLinkTags: bool, - preserveMediaQueries: bool, - applyWidthAttributes: bool, - applyTableAttributes: bool + url: str, + extraCss: str, + applyStyleTags: bool, + applyLinkTags: bool, + removeStyleTags: bool, + removeLinkTags: bool, + preserveMediaQueries: bool, + applyWidthAttributes: bool, + applyTableAttributes: bool, + removeHtmlSelectors: bool, }; -inlineCss(str, options).then((value:string) => { - -}); +inlineCss(str, options).then((value: string) => {});