Made compliant with --noImplicitAny option. (Mirrors change in DefinitelyTyped.)