@lifeart/gxt
Version:
<img align="right" width="95" height="95" alt="Philosopher’s stone, logo of PostCSS" src="./public/logo.png">
14 lines (12 loc) • 550 B
TypeScript
import { ComponentReturnType } from './component';
/**
* Tagged template literal for Glimmer templates.
*
* This function is a build-time marker that gets transformed by the Vite plugin.
* At build time, the plugin replaces `hbs`...`` with compiled template code.
*
* If this function is called at runtime, it means the template was not compiled,
* which indicates a build configuration issue.
*/
export declare function hbs(_: TemplateStringsArray): ComponentReturnType;
export declare function scope(items: Record<string, unknown>): void;