-
Notifications
You must be signed in to change notification settings - Fork 448
Qaa 665 llm add typecheck #13523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qaa 665 llm add typecheck #13523
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
|
fe61633 to
8ba1961
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds TypeScript type checking for the e2e mobile test suite and configures a Husky pre-push hook to automatically run type checks before pushing code. The changes address type errors in the e2e tests by updating TypeScript configuration and fixing import paths.
Key changes:
- Added
typechecknpm script and Husky 9.1.7 as a dev dependency - Updated TypeScript configuration with modern compiler options and corrected path mappings
- Fixed import paths and removed unnecessary explicit type annotations that can be inferred
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
e2e/mobile/tsconfig.json |
Updated TypeScript compiler options with bundler-style settings and changed live-common paths from src to lib directories |
e2e/mobile/package.json |
Added typecheck script, husky dependency, and prepare script for Husky setup |
e2e/mobile/.husky/pre-push |
Added pre-push hook to run typecheck on e2e mobile files |
e2e/mobile/.husky/install.mjs |
Added Husky installation script that skips in production/CI environments |
e2e/mobile/utils/initUtil.ts |
Fixed import path from tilde alias to relative path for type definitions |
e2e/mobile/specs/ledgerSync/ledgerSync.spec.ts |
Removed explicit type annotations in favor of type inference |
e2e/mobile/bridge/server.ts |
Changed WebSocket import from named import to namespace import |
e2e/mobile/page/wallet/walletTabNavigator.page.ts |
Alphabetically sorted imports |
e2e/mobile/page/settings/settingsHelp.page.ts |
Removed blank line |
pnpm-lock.yaml |
Updated dependency hashes and added husky package |
apps/ledger-live-mobile/ios/Podfile.lock |
Updated pod dependency paths to match new pnpm hashes |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8ba1961 to
68155d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 7 out of 9 changed files in this pull request and generated 5 comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "moduleResolution": "bundler", | ||
| "moduleDetection": "force", | ||
| "module": "preserve", |
Copilot
AI
Jan 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The combination of "moduleResolution": "bundler" with "module": "preserve" may not be optimal for a Node.js testing environment. The "bundler" module resolution is designed for bundlers like Webpack or Vite, not for Node.js. For a Node.js environment with modern TypeScript, consider using "moduleResolution": "node" or "nodenext" instead, along with an appropriate "module" setting like "commonjs" or "esnext".
| "moduleResolution": "bundler", | |
| "moduleDetection": "force", | |
| "module": "preserve", | |
| "moduleResolution": "nodenext", | |
| "moduleDetection": "force", | |
| "module": "esnext", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to set it as bundler and preserve, because we are importing modules from apps/ledger-live-mobile, typecheck would fail otherwise. Any other suggestion?
01a63e0 to
eab3b8d
Compare
68155d5 to
f72da60
Compare
f72da60 to
883962b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



β Checklist
npx changesetwas attached.π Description
β Context
π§ Checklist for the PR Reviewers