mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-17 13:20:41 -07:00
16 lines
310 B
TypeScript
16 lines
310 B
TypeScript
export interface Emitter {
|
|
/**
|
|
* Write a html value into emitter
|
|
* @param html string, Drop or other primitive value
|
|
*/
|
|
write (html: any): void;
|
|
/**
|
|
* Notify the emitter render has ended
|
|
*/
|
|
end (): void;
|
|
/**
|
|
* Collect rendered string value immediately
|
|
*/
|
|
collect (): string;
|
|
}
|