We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4f337 commit b1c8cf0Copy full SHA for b1c8cf0
packages/cubejs-schema-compiler/src/compiler/transpilers/ImportExportTranspiler.ts
@@ -52,8 +52,7 @@ export class ImportExportTranspiler implements TranspilerInterface {
52
const addExportCall = t.callExpression(t.identifier('addExport'), [t.objectExpression(<t.ObjectProperty[]>declarations)]);
53
if ('declaration' in path.node && path.node.declaration) {
54
path.replaceWithMultiple([
55
- // @todo fix without any
56
- (<any>path.get('declaration')).node,
+ path.node.declaration,
57
t.callExpression(t.identifier('addExport'), [
58
t.objectExpression(
59
// @ts-ignore
0 commit comments