Fix package.json and use correct typing method