Removed type queries used on interface members.

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