UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

18 lines (16 loc) 538 B
// Type definitions for htmltojsx // Project: https://www.npmjs.com/package/htmltojsx // Definitions by: Basarat Ali Syed <https://github.com/basarat> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module 'htmltojsx' { class HTMLtoJSX { constructor(options?: { createClass?: boolean; outputClassName?: string; /** as a string e.g. ' ' or '\t' */ indent?: string; }); convert(html: string): string; } export = HTMLtoJSX; }