UNPKG

756 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8export interface TemplateTag<R = string> {
9 (template: TemplateStringsArray, ...substitutions: any[]): R;
10}
11export declare function oneLine(strings: TemplateStringsArray, ...values: any[]): string;
12export declare function indentBy(indentations: number): TemplateTag;
13export declare function stripIndent(strings: TemplateStringsArray, ...values: any[]): string;
14export declare function stripIndents(strings: TemplateStringsArray, ...values: any[]): string;
15export declare function trimNewlines(strings: TemplateStringsArray, ...values: any[]): string;