File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cubejs-schema-compiler/src/compiler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export class DataSchemaCompiler {
238238 let cubeNames : string [ ] = [ ] ;
239239 let cubeSymbols : Record < string , Record < string , boolean > > = { } ;
240240 let transpilerNames : string [ ] = [ ] ;
241- let results ;
241+ let results : ( FileContent | undefined ) [ ] ;
242242
243243 if ( transpilationNative || transpilationWorkerThreads ) {
244244 cubeNames = Object . keys ( this . cubeDictionary . byId ) ;
@@ -301,7 +301,7 @@ export class DataSchemaCompiler {
301301 results = await Promise . all ( toCompile . map ( f => this . transpileFile ( f , errorsReport , { } ) ) ) ;
302302 }
303303
304- return results . filter ( f => ! ! f ) ;
304+ return results . filter ( f => ! ! f ) as FileContent [ ] ;
305305 } ;
306306
307307 let cubes : CubeDefinition [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments