Fix types in adapter.

This change allows karma-dart to run on Dartium with checked mode enabled.
Merge pull request #2 from jbdeboer/namespace-patch

Fix types in adapter.