Skip to content

Commit 005f125

Browse files
committed
Removed cast
1 parent 5f42fa6 commit 005f125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/routeGeneration/templates/express.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function RegisterRoutes(app: Router) {
114114
validatedArgs = templateService.getValidatedArgs({ args, request, response });
115115

116116
{{#if ../../iocModule}}
117-
const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer as IocContainer;
117+
const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer;
118118

119119
const controller: any = await container.get<{{../name}}>({{../name}});
120120
if (typeof controller['setStatus'] === 'function') {

0 commit comments

Comments
 (0)