mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
476 B
TypeScript
17 lines
476 B
TypeScript
// 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 class HTMLtoJSX {
|
|
constructor(options?: {
|
|
createClass?: boolean;
|
|
outputClassName?: string;
|
|
/** as a string e.g. ' ' or '\t' */
|
|
indent?: string;
|
|
});
|
|
convert(html: string): string;
|
|
}
|
|
export = HTMLtoJSX;
|