Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Add instructions for using tsc and vue-tsc for type checking in production builds.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings September 29, 2025 02:50
@netlify
Copy link

netlify bot commented Sep 29, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit c972b10
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68d9f4d17035d700081ed8b3
😎 Deploy Preview https://deploy-preview-6279--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76 (🟢 up 11 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a 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 updates the TypeScript guide documentation to provide additional type checking options. The changes add comprehensive instructions for using tsc and vue-tsc as alternatives to the existing type check plugin for production builds.

  • Restructures the type checking section with clear headings for different approaches
  • Adds detailed examples for using tsc directly in build scripts
  • Includes Vue-specific instructions using vue-tsc for Single File Components

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
website/docs/zh/guide/basic/typescript.mdx Adds Chinese documentation for tsc/vue-tsc type checking with code examples
website/docs/en/guide/basic/typescript.mdx Adds English documentation for tsc/vue-tsc type checking with code examples

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

chenjiahan and others added 2 commits September 29, 2025 10:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenjiahan chenjiahan merged commit 86ec15a into main Sep 29, 2025
11 checks passed
@chenjiahan chenjiahan deleted the type_check_doc_0928 branch September 29, 2025 02:57
@chenjiahan chenjiahan mentioned this pull request Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants