shift-tab
Version:
Removes indent space from multiline strings
7 lines (6 loc) • 505 B
TypeScript
import type { Processor, TemplateTag } from "./shift-tab.js";
export declare function buildTemplate(strings: TemplateStringsArray, ...variables: any[]): string;
export declare function count<T = any>(target: ArrayLike<T>, test: (value: T, i: number) => boolean, reverse?: boolean): number;
export declare function untag(tag: TemplateTag): Processor;
export declare function isEmptyOrWhitespace(str: string | undefined): boolean;
export declare function multiline(...lines: string[] | [string[]]): string;