Skip to content

Commit c138133

Browse files
committed
Remove gratuitous typedef
1 parent 197618b commit c138133

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/builder.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ import 'generator.dart';
1313
import 'library.dart';
1414
import 'utils.dart';
1515

16-
typedef String _OutputFormatter(String code);
17-
1816
/// A [Builder] wrapping on one or more [Generator]s.
1917
class _Builder extends Builder {
2018
/// Function that determines how the generated code is formatted.
21-
final _OutputFormatter formatOutput;
19+
final String Function(String) formatOutput;
2220

2321
/// The generators run for each targeted library.
2422
final List<Generator> _generators;

0 commit comments

Comments
 (0)