publish: typed doesn't set value apparently

generated from commit e5352a2cff280c5650e29f45db432979e0d5145f