Open
Conversation
- Add `@typescript/native-preview` dev dependency - Add `check-types` script (tsgo --noEmit) - Add `check-types:tsc` script (tsc --noEmit) - `lint` script remains on tsc since tsgo is preview software | Command | Time | |---------|------| | `npm run check-types` (tsgo) | 0.82s | | `npm run check-types:tsc` (tsc) | 1.61s | tsgo is ~49% faster on this codebase.
|
Note
|
| Cohort / File(s) | Summary |
|---|---|
Package Configuration package.json |
Added scripts: "check-types": "tsgo --noEmit" and "check-types:tsc": "tsc --noEmit". Added @typescript/native-preview (^7.0.0-dev.20260122.3) to both dependencies and devDependencies. |
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~2 minutes
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Description check | The description provides detailed context including summary, performance measurements, and test plan, but does not follow the required template structure with Changes section and Checklist items. | Reorganize the description to match the required template: add a 'Changes' section describing modifications, and complete the Checklist with release label and documentation/test verification items. |
✅ Passed checks (2 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly and concisely summarizes the main change: adding tsgo type checker alongside tsc for faster type checking. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
Comment @coderabbitai help to get the list of available commands and usage tips.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@typescript/native-previewdev dependency for faster type checkingcheck-typesscript (tsgo --noEmit)check-types:tscscript (tsc --noEmit)lintscript remains on tsc since tsgo is preview softwareMeasurements
npm run check-types(tsgo)npm run check-types:tsc(tsc)tsgo is ~49% faster on this codebase.
Test plan
npm installsucceedsnpm run check-typespassesnpm run check-types:tscpassesSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.