Installation
npm install --save @types/handlebars-helpers
Summary
This package contains type definitions for handlebars-helpers (http://assemble.io/helpers/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/handlebars-helpers.
import * as Handlebars from "handlebars";
declare function helpers(
groups?: helpers.Options | string | string[],
options?: helpers.Options,
): { [name: string]: Handlebars.HelperDelegate };
interface Utils {
contains<T>(val: T[], obj: T, start: number): boolean;
chop(str: string): string;
changecase(str: string, fn: (str: string) => string): string;
}
declare namespace helpers {
interface Options {
handlebars?: typeof Handlebars | undefined;
hbs?: typeof Handlebars | undefined;
}
const utils: Utils;
}
export = helpers;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: handlebars
Credits
These definitions were written by Toilal.