pleshevski.ru/src/ren/types.mts

6 lines
120 B
TypeScript
Raw Normal View History

2022-03-16 22:17:07 +03:00
import { Elem } from "./nodes.mjs";
export interface Renderer<T> {
render(node: Elem | Promise<Elem>): Promise<T>;
}