feat: Add type checking and update tsconfig
Adds a type-checking script to package.json and updates tsconfig.json to
improve type checking and skip library checks.
feat: Add type checking and update tsconfig
Adds a type-check script to `package.json` and a pre-push hook to run
type checks before pushing. Updates the `tsconfig.json` to include
`vitest/globals` and `skipLibCheck`. Also, updates imports in test files
to include the `.js` extension.