mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Handlebars: added missing Utils.blockParams method (#16616)
* handlebars: added partials/decorators fields and registerDecorator/unregisterDecorator methods * [handlerbars] added missing Utils.blockParams method, change signature Utils.createFrame
This commit is contained in:
parent
6a5075971e
commit
5bdcc082d4
4
types/handlebars/index.d.ts
vendored
4
types/handlebars/index.d.ts
vendored
@ -15,6 +15,7 @@ declare namespace Handlebars {
|
||||
|
||||
export function K(): void;
|
||||
export function createFrame(object: any): any;
|
||||
export function blockParams(obj: any[], ids: any[]): any[];
|
||||
export function Exception(message: string): void;
|
||||
export function log(level: number, obj: any): void;
|
||||
export function parse(input: string): hbs.AST.Program;
|
||||
@ -142,7 +143,8 @@ declare namespace hbs {
|
||||
|
||||
namespace Utils {
|
||||
function escapeExpression(str: string): string;
|
||||
function createFrame(obj: Object): Object;
|
||||
function createFrame(object: any): any;
|
||||
function blockParams(obj: any[], ids: any[]): any[];
|
||||
function isEmpty(obj: any) : boolean;
|
||||
function extend(obj: any, ...source: any[]): any;
|
||||
function toString(obj: any): string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user