Skip to content

Commit

Permalink
disable nested class generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Apr 26, 2018
1 parent aab8def commit 1f7fec4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ Context getClassDecl()

if( type.getValue().isEnum() ) sb.append( "/* enum */" );

if( type.hasAlias()) sb.append("declare ");

sb.append( "class ");

final TSType superclass = TSType.from(type.getValue().getSuperclass());
Expand Down Expand Up @@ -887,7 +889,7 @@ public String processClass( int level, TSType tstype, java.util.Map<String, TSTy
.append('\n');

// NESTED CLASSES
if( level == 0 ) ctx.processNestedClasses( level );
//if( level == 0 ) ctx.processNestedClasses( level );

if( tstype.supportNamespace() )
ctx.append("\n} // end namespace ")
Expand Down

0 comments on commit 1f7fec4

Please sign in to comment.