import { ExpressionDescriptor } from "./expressionDescriptor"
import { allLocalesLoader } from "./i18n/allLocalesLoader"

ExpressionDescriptor.initialize(new allLocalesLoader());
export default ExpressionDescriptor;

let toString = ExpressionDescriptor.toString;
export { toString };


import { ExpressionDescriptor } from "./expressionDescriptor"
import { allLocalesLoader } from "./i18n/allLocalesLoader"

ExpressionDescriptor.initialize(new allLocalesLoader());

export = ExpressionDescriptor;

--- 
+++ 
@@ -2,5 +2,8 @@
 import { allLocalesLoader } from "./i18n/allLocalesLoader"
 
 ExpressionDescriptor.initialize(new allLocalesLoader());
+export default ExpressionDescriptor;
 
-export = ExpressionDescriptor;
+let toString = ExpressionDescriptor.toString;
+export { toString };
+
Use named export for 'toString' for i18n version
