Skip to content

Commit 4df34c8

Browse files
committed
Good to type the a completer that returns a value
1 parent d64e9c9 commit 4df34c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/generate/build_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class BuildImpl {
7575

7676
/// Assume incremental, change if necessary.
7777
var buildType = BuildType.Incremental;
78-
var done = new Completer();
78+
var done = new Completer<BuildResult>();
7979
Chain.capture(() async {
8080
if (_buildRunning) throw const ConcurrentBuildException();
8181
_buildRunning = true;

0 commit comments

Comments
 (0)