Index: lib/src/codegen/js_printer.dart |
diff --git a/lib/src/codegen/js_printer.dart b/lib/src/codegen/js_printer.dart |
index 50ce6ba4ecc43dcfaf6431aa16059c11f326f34f..3325870303cabdb4775e9cf1be0b8a73970e8f26 100644 |
--- a/lib/src/codegen/js_printer.dart |
+++ b/lib/src/codegen/js_printer.dart |
@@ -32,7 +32,9 @@ String writeJsLibrary( |
} |
var opts = new JS.JavaScriptPrintingOptions( |
- allowKeywordsInProperties: true, allowSingleLineIfStatements: true); |
+ shouldEmitTypes: true, |
+ allowKeywordsInProperties: true, |
+ allowSingleLineIfStatements: true); |
var jsNamer = new TemporaryNamer(jsTree); |
jsTree.accept(new JS.Printer(opts, context, localNamer: jsNamer)); |