Skip to content

Commit

Permalink
Export generic serializer constructor from JS module
Browse files Browse the repository at this point in the history
  • Loading branch information
sandwwraith committed Nov 25, 2019
1 parent 73b9d24 commit b9ac134
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ open class SerializerJsTranslator(

f.name = context.getInnerNameForDescriptor(typedConstructorDescriptor);
context.addDeclarationStatement(f.makeStmt())
context.export(typedConstructorDescriptor)
}

protected fun TranslationContext.referenceMethod(clazz: ClassDescriptor, name: String) =
Expand Down

0 comments on commit b9ac134

Please # to comment.