Nathan Shively-Sanders 4197a30f0c Improve error messages and always return any from newed functions
Previously, functions that specified a type for `this` would return that
type. Now they return `any`. This helps prevent unintentional use of this
feature when --noImplicitAny is turned on.

The type of `this` is still checked in the body of these functions.
2016-03-31 14:32:56 -07:00
..