DefinitelyTyped/types/deindent/index.d.ts
2019-07-01 11:17:31 -07:00

13 lines
554 B
TypeScript

// Type definitions for deindent 0.1
// Project: https://github.com/deanlandolt/deindent
// Definitions by: Avi Vahl <https://github.com/AviVahl>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function deindent(
tagFn: (template: TemplateStringsArray, ...substitutions: any[]) => string
): (template: TemplateStringsArray, ...substitutions: any[]) => string;
declare function deindent(template: TemplateStringsArray, ...substitutions: any[]): string;
declare function deindent(input: string): string;
export = deindent;