Options
All
  • Public
  • Public/Protected
  • All
Menu

Module template/src

Index

Type aliases

TemplateElement

TemplateElement: false | string | number | undefined | null | Template | UnsafeHtml | TemplateElement[] | Promise<TemplateElement>

Functions

Const cache

  • cache<T>(func: T, options?: Options<T>): (...funcArgs: Parameters<T>) => Template | Promise<Template>

Const html

Const renderToStream

Const renderToString

Const unsafeHtml

  • unsafeHtml(value?: string): UnsafeHtml