Skip to content
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

Fix compiler errors in tests and samples #31649

Merged
merged 11 commits into from
Nov 6, 2024

Conversation

jeremymeng
Copy link
Member

@jeremymeng jeremymeng commented Nov 5, 2024

After moving to ESM/tshy, we no longer build tests/samples. This PR enables running "typecheck" as an optional rush bulk command, and fixes some of the errors found.

The known errors reported on files from vite/vitest/chai are ignored.

The update-snippets dev-tool command throws error of reading undefined in some cases, adding a null check fixes it.

Snippets are updated as well after snippets.spec.ts files are fixed.

The `dev-tool run typecheck` will report compiler diagnostics without emitting output.
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@jeremymeng jeremymeng merged commit cf8d25f into Azure:main Nov 6, 2024
54 checks passed
@jeremymeng jeremymeng deleted the engsys/add-typecheck-script branch November 6, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants