Skip to content

Commit bb4c270

Browse files
committed
refactor(schema-compiler): Port DynamicReference to TypeScript
1 parent 339399d commit bb4c270

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

packages/cubejs-schema-compiler/src/compiler/DynamicReference.js

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export class DynamicReference<T> {
2+
public constructor(public memberNames: Array<string>, public fn: (...args: Array<unknown>) => T) {
3+
}
4+
}

0 commit comments

Comments
 (0)