Removed type queries used on interface members.

typeof cannot be used on members within an interface.
It is currently permitted due to bug in the TypeScript compiler.
Merge pull request #2159 from DanielRosenwasser/master

Removed type queries used on interface members.