Skip to content

Commit caac00c

Browse files
committed
another type fix
1 parent 75decce commit caac00c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-server/src/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import CubeCore, {
88
SystemOptions
99
} from '@cubejs-backend/server-core';
1010
import { getEnv, withTimeout } from '@cubejs-backend/shared';
11-
import express from 'express';
11+
import express, { Express } from 'express';
1212
import http from 'http';
1313
import util from 'util';
1414
import bodyParser from 'body-parser';
@@ -81,7 +81,7 @@ export class CubejsServer {
8181
return new CubeCore(config, systemOptions);
8282
}
8383

84-
public async listen(options: http.ServerOptions = {}) {
84+
public async listen(options: http.ServerOptions = {}): Promise<{app: Express, port: number, server: GracefulHttpServer, version: any }> {
8585
try {
8686
if (this.server) {
8787
throw new Error('CubeServer is already listening');

0 commit comments

Comments
 (0)