6 lines
120 B
TypeScript
6 lines
120 B
TypeScript
|
import { Elem } from "./nodes.mjs";
|
||
|
|
||
|
export interface Renderer<T> {
|
||
|
render(node: Elem | Promise<Elem>): Promise<T>;
|
||
|
}
|