File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export class LuaTransformer {
2424 public transform ( node : ts . SourceFile ) : ts . SourceFile {
2525 this . sourceFile = node ;
2626 this . isModule = tsHelper . isFileModule ( node ) ;
27+ console . log ( this . checker . getTypeAtLocation ( this . sourceFile ) . getSymbol ( ) . exports ) ;
2728 return ts
2829 . transform ( node ,
2930 [ ( ctx : ts . TransformationContext ) => {
@@ -304,11 +305,6 @@ export class LuaTransformer {
304305 return undefined ;
305306 }
306307 public visitVariableStatement ( node : ts . VariableStatement ) : ts . VisitResult < ts . VariableStatement > {
307- // TODO maybe flag as gglobal/local here somehow?
308- if ( ! this . isModule && ! this . currentNamespace ) {
309- return ts . updateVariableStatement (
310- node , [ ts . createModifier ( ts . SyntaxKind . StaticKeyword ) ] , node . declarationList ) ;
311- }
312308 return node ;
313309 }
314310 public visitExpressionStatement ( node : ts . ExpressionStatement ) : ts . VisitResult < ts . ExpressionStatement > {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ fs.copyFileSync(
2323testRunner . outputStream
2424 // this will use alsatian's default output if you remove this
2525 // you'll get TAP or you can add your favourite TAP reporter in it's place
26- . pipe ( TapBark . create ( ) . getPipeable ( ) )
26+ // .pipe(TapBark.create().getPipeable())
2727 // pipe to the console
2828 . pipe ( process . stdout ) ;
2929
You can’t perform that action at this time.
0 commit comments