Revert "modified TypeConst"

This reverts commit ab60d13d4124ad7e74f227cc8307e65938a38a69.