From b57b14a49af87547e67137f74bb22effa1ec4da3 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 12 Jan 2023 14:54:22 -0300 Subject: [PATCH] export types --- html.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html.ts b/html.ts index 0d736f5..cb08deb 100644 --- a/html.ts +++ b/html.ts @@ -1,17 +1,17 @@ // Inspirado en https://gitea.nulo.in/Nulo/html.lua/src/commit/cb7e35dcca0e45b397baf628f5e1a162a2269638/html.lua -interface VirtualElement { +export interface VirtualElement { __element_type: string; things: Thing[]; } -interface RawHtml { +export interface RawHtml { __raw: string; } interface Attributes { [key: string]: string | number; } type Thing = VirtualElement | RawHtml | Attributes | string; -type Renderable = VirtualElement | RawHtml | string; +export type Renderable = VirtualElement | RawHtml | string; export const basicElement = (__element_type: string) =>