use typeRegister in tq-edit