Make Declarer.declare generic (#1187)

The doc comment explicitly mentions returning a value so the `void`
return is not sensible. Avoids strangeness of needing to add an extra
`as dynamic` to allow an `await`.

Remove a TODO - the `await` is important since the `main` could be
async.
2 files changed
tree: e8484da18ce25c6ac25507f26d40a03751bf67e8
  1. pkgs/
  2. tool/
  3. .gitignore
  4. .travis.yml
  5. analysis_options.yaml
  6. CONTRIBUTING.md
  7. mono_repo.yaml
  8. README.md
README.md

Test Mono Repository

This repository contains packages for writing and running Dart tests.

test

A full featured packaged for writing and running Dart tests on various platforms, e.g. VM, Chrome, Node etc.

test_api

A minimal package for writing tests. This package is used by package:test and package:test_core.

test_core

A minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. This package is used by package:test.