* Add types for common directory * Reflect the code reviews * style: improve syntax * style: improve typescript syntax Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit performs the base changes that are needed to migrate the codebase to typescript.