smarthbs/dist/smarthbs.variables.d.ts

13 lines
439 B
TypeScript
Raw Normal View History

2017-05-01 14:57:53 +00:00
/**
* finds all variables in a handlebars template
* @param hbsStringArg
*/
export declare let findVarsInHbsString: (hbsStringArg: string) => Promise<string[]>;
/**
* checks if supplied variables satisfy an handlebars template
* @param hbsStringArg
* @param varObjectArg
* @return string array with missing variable names
2017-05-01 14:57:53 +00:00
*/
export declare let checkVarsSatisfaction: (hbsStringArg: string, varObjectArg: any) => Promise<string[]>;