Skip to content

Commit

Permalink
Fix types for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLeedham committed Sep 1, 2019
1 parent 4e9ffea commit ef2984e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const parsedTmplWithoutOptions = Handlebars.parse('<p>Hello, my name is {{name}}

// Custom partial resolution.
const originalResolvePartial = Handlebars.VM.resolvePartial;
Handlebars.VM.resolvePartial = (partial, context, options) => {
Handlebars.VM.resolvePartial = <T>(partial: HandlebarsTemplateDelegate<T> | undefined, context: any, options: RuntimeOptions): HandlebarsTemplateDelegate<T> => {
const name = options.name;
// transform name.
options.name = name;
Expand Down

0 comments on commit ef2984e

Please sign in to comment.