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