Skip to content

Commit aa7f2be

Browse files
committed
a few more types
1 parent 8a4eb9c commit aa7f2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-schema-compiler/src/compiler/JoinGraph.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class JoinGraph implements CompilerInterface {
123123
};
124124

125125
const joinRequired =
126-
(v) => `primary key for '${v}' is required when join is defined in order to make aggregates work properly`;
126+
(v: string) => `primary key for '${v}' is required when join is defined in order to make aggregates work properly`;
127127

128128
return cube.joins
129129
.filter(join => {
@@ -198,7 +198,7 @@ export class JoinGraph implements CompilerInterface {
198198
return this.builtJoins[key];
199199
}
200200

201-
protected cubeFromPath(cubePath) {
201+
protected cubeFromPath(cubePath: JoinHint): string {
202202
if (Array.isArray(cubePath)) {
203203
return cubePath[cubePath.length - 1];
204204
}

0 commit comments

Comments
 (0)