Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 0ebf846

Browse files
committed
fix(express-engine): fix return type for app method
1 parent 9024f1c commit 0ebf846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/express-engine/schematics/install/files/__serverFileName@stripTsExtension__.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { APP_BASE_HREF } from '@angular/common';
99
import { existsSync } from 'fs';
1010

1111
// The Express app is exported so that it can be used by serverless Functions.
12-
export function app(): void {
12+
export function app(): express.Express {
1313
const server = express();
1414
const distFolder = join(process.cwd(), '<%= browserDistDirectory %>');
1515
const indexHtml = existsSync(join(distFolder, 'index.original.html')) ? 'index.original.html' : 'index';

0 commit comments

Comments
 (0)