Fix #3: support alternative "notation" for overloaded methods.

Alternative to #4 to improve support for the alternative notation for overloaded methods of TypeScript.