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.