Skip to content

Commit

Permalink
Merge pull request #412 from dgreene1/issue-292-strictAnyCompilerError
Browse files Browse the repository at this point in the history
explicitly setting to any since otherwise users will get a no implicit any compiler error
  • Loading branch information
dgreene1 authored Aug 13, 2019
2 parents 000608f + a4d9505 commit 7ed365c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routeGeneration/templates/koa.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function RegisterRoutes(router: KoaRouter) {
{{#if security.length}}
authenticateMiddleware({{json security}}),
{{/if}}
async (context, next) => {
async (context: any, next: any) => {
const args = {
{{#each parameters}}
{{@key}}: {{{json this}}},
Expand Down

0 comments on commit 7ed365c

Please sign in to comment.