Chromium Code Reviews| Index: pkg/docgen/lib/src/models/indexable.dart |
| diff --git a/pkg/docgen/lib/src/models/indexable.dart b/pkg/docgen/lib/src/models/indexable.dart |
| index c399f486ca46409a8fc3964dc83233722536e5b6..4796e7c14732933335447039f29f8bbf528eb2b3 100644 |
| --- a/pkg/docgen/lib/src/models/indexable.dart |
| +++ b/pkg/docgen/lib/src/models/indexable.dart |
| @@ -123,8 +123,7 @@ abstract class Indexable<TMirror extends DeclarationMirror> |
| /// Generates MDN comments from database.json. |
| String getMdnComment(); |
| - /// The type of this member to be used in index.txt. |
| - String get typeName => ''; |
| + String get typeName; |
|
kevmoo
2014/04/20 21:34:54
Every type implements this, so making it abstract.
|
| /// Creates a [Map] with this [Indexable]'s name and a preview comment. |
| Map get previewMap { |