UNPKG

465 BTypeScriptView Raw
1import type { Commands, KeysOf, TemplateData } from './types';
2/**
3 * The generic template string template engine function, it does not have any special
4 * features, it just fills the provided template with your data.
5 *
6 * @returns The generated string
7 */
8export declare function t<D extends TemplateData, P extends KeysOf<Omit<D, 'helpers'>>[]>(_template: TemplateStringsArray, data: D, ...keys: Commands<P[number], D>[]): string;
9//# sourceMappingURL=t.d.ts.map
\No newline at end of file