UNPKG

@kloudsoftware/eisen

Version:

Declarative and expressive TypeScript framework for building modern web applications

10 lines (9 loc) 396 B
/** * Compiles a string containing TSX into JavaScript that uses the * eisen JSX runtime. The resulting code will call the `jsx` factory * which can be wired to a {@link VApp} via {@link setJSXApp}. * * @param source TSX source code * @param jsxFactory name of the JSX factory function, defaults to `jsx` */ export declare function compileTsx(source: string, jsxFactory?: string): string;