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

[OpenAI] Precise Typechecking #31786

Merged
merged 13 commits into from
Nov 20, 2024
Merged

[OpenAI] Precise Typechecking #31786

merged 13 commits into from
Nov 20, 2024

Conversation

deyaaeldeen
Copy link
Member

@deyaaeldeen deyaaeldeen commented Nov 15, 2024

Behind the scene, TSHY rewrites tsconfig.json to build the source code of the library but it ignores tests and samples. This PR breaks the monolith tsconfig.json into three ones, one for building the source, one for the tests, and one for the samples. It utilizes Project References to create a TS project each. This setup makes sure type errors are adequately caught in each of those projects.

Additionally, the PR disables rolling up d.ts files and fixes a type error in tests.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@minhanh-phan minhanh-phan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This work looks great, thank you 💯

@deyaaeldeen deyaaeldeen merged commit cd338ec into main Nov 20, 2024
18 checks passed
@deyaaeldeen deyaaeldeen deleted the openai/precise-typechecking branch November 20, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants