chore: add typecheck CI check (#1048)