Removed type queries used on interface members.

typeof cannot not be used on members within an interface.
It is currently permitted due to bug in the TypeScript compiler.