Skip to content

Commit fe9fce2

Browse files
committed
Add types to the field declaration
1 parent bdb5c4b commit fe9fce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tool/generator/bcd.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'filesystem_api.dart';
1313
/// property status (standards track, experimental, deprecated) and supported
1414
/// browser (chrome, safari, firefox) info.
1515
class BrowserCompatData {
16-
static final _eventHandlers = <String, Set<BCDPropertyStatus>>{};
16+
static final Map<String, Set<BCDPropertyStatus>> _eventHandlers = {};
1717

1818
/// Returns whether [name] is an event handler that is supported in any
1919
/// interface.
@@ -88,7 +88,7 @@ class BrowserCompatData {
8888
}
8989

9090
class BCDInterfaceStatus extends BCDItem {
91-
final _properties = <String, BCDPropertyStatus>{};
91+
final Map<String, BCDPropertyStatus> _properties = {};
9292

9393
BCDInterfaceStatus(super.name, super.json) {
9494
for (final symbolName in json.symbolNames) {

0 commit comments

Comments
 (0)