Skip to content

Commit 084d105

Browse files
committed
comments with types
1 parent 261300c commit 084d105

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/cubejs-api-gateway/src/gateway.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,13 @@ class ApiGateway {
177177

178178
public constructor(
179179
protected readonly apiSecret: string,
180+
/**
181+
* It actually returns a Promise<CompilerApi>
182+
*/
180183
protected readonly compilerApi: (ctx: RequestContext) => Promise<any>,
184+
/**
185+
* It actually returns a Promise<OrchestratorApi>
186+
*/
181187
protected readonly adapterApi: (ctx: RequestContext) => Promise<any>,
182188
protected readonly logger: any,
183189
protected readonly options: ApiGatewayOptions,

packages/cubejs-server-core/src/core/CompilerApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export class CompilerApi {
504504

505505
/**
506506
*
507-
* @param {unknown} filter
507+
* @param {unknown|undefined} filter
508508
* @returns {Promise<Array<PreAggregationInfo>>}
509509
*/
510510
async preAggregations(filter) {

0 commit comments

Comments
 (0)