typeof(T) rewrite