* fix: enable and fix fully type checking * chore: pre-commit autoupdate * refactor: pull types out to file