Type hint in macro

By dennis_zhuang