| Index: lib/src/codegen/js_codegen.dart
 | 
| diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
 | 
| index 8af06b9dfb02481a6e62f779bc649adf98c9852c..8f4abf85b25f22929cf12780fca0185239235b0c 100644
 | 
| --- a/lib/src/codegen/js_codegen.dart
 | 
| +++ b/lib/src/codegen/js_codegen.dart
 | 
| @@ -991,6 +991,11 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ConversionVisitor {
 | 
|  
 | 
|      var name = element.name;
 | 
|  
 | 
| +    // type literal
 | 
| +    if (element is ClassElement || element is FunctionTypeAliasElement) {
 | 
| +      return _emitTypeName(fillDynamicTypeArgs(element.type, types));
 | 
| +    }
 | 
| +
 | 
|      // library member
 | 
|      if (element.enclosingElement is CompilationUnitElement) {
 | 
|        return _maybeQualifiedName(
 | 
| 
 |