Skip to content

Commit b1c8cf0

Browse files
committed
small fix
1 parent 9e4f337 commit b1c8cf0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cubejs-schema-compiler/src/compiler/transpilers/ImportExportTranspiler.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export class ImportExportTranspiler implements TranspilerInterface {
5252
const addExportCall = t.callExpression(t.identifier('addExport'), [t.objectExpression(<t.ObjectProperty[]>declarations)]);
5353
if ('declaration' in path.node && path.node.declaration) {
5454
path.replaceWithMultiple([
55-
// @todo fix without any
56-
(<any>path.get('declaration')).node,
55+
path.node.declaration,
5756
t.callExpression(t.identifier('addExport'), [
5857
t.objectExpression(
5958
// @ts-ignore

0 commit comments

Comments
 (0)