@live-html-editor/server
Version:
A server for @live-html-editor/browser
20 lines (19 loc) • 462 B
TypeScript
import { Response } from "express";
/**
* @author [S. Mahdi Mir-Ismaili](https://mirismaili.github.io)
* Created on 1398/1/31 (2019/4/20).
*/
export default function worker(req: Req, res: Response): void;
/**
* Equivalent of `ResolvedSourceFile` on the client side
*/
interface SourceFile {
path: string;
domPath: string;
regexp: string;
}
interface Req {
htmlDocument: string;
sourceFiles: SourceFile[];
}
export {};