这是indexloc提供的服务,不要输入任何密码
Skip to content

refactor: clean up typescript plugin

013c2f5
Select commit
Loading
Failed to load commit list.
Merged

refactor: clean up typescript plugin #2839

refactor: clean up typescript plugin
013c2f5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Oct 24, 2025 in 0s

30.39% (-0.02%) compared to 972b93e

View this Pull Request on Codecov

30.39% (-0.02%) compared to 972b93e

Details

Codecov Report

❌ Patch coverage is 17.79661% with 582 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.39%. Comparing base (972b93e) to head (013c2f5).

Files with missing lines Patch % Lines
...pi-ts/src/plugins/@hey-api/typescript/v1/plugin.ts 38.46% 112 Missing ⚠️
...src/plugins/@hey-api/typescript/v1/toAst/object.ts 5.55% 102 Missing ⚠️
...src/plugins/@hey-api/typescript/v1/toAst/string.ts 2.91% 100 Missing ⚠️
.../src/plugins/@hey-api/typescript/v1/toAst/index.ts 14.44% 77 Missing ⚠️
.../src/plugins/@hey-api/typescript/v1/toAst/array.ts 13.15% 33 Missing ⚠️
.../src/plugins/@hey-api/typescript/v1/toAst/tuple.ts 12.50% 28 Missing ⚠️
...src/plugins/@hey-api/typescript/v1/toAst/number.ts 10.00% 18 Missing ⚠️
...rc/plugins/@hey-api/typescript/shared/operation.ts 5.88% 16 Missing ⚠️
...s/openapi-ts/src/plugins/@hey-api/sdk/operation.ts 0.00% 15 Missing ⚠️
...s/src/plugins/@hey-api/typescript/v1/toAst/enum.ts 11.76% 15 Missing ⚠️
... and 9 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2839      +/-   ##
==========================================
- Coverage   30.41%   30.39%   -0.02%     
==========================================
  Files         466      482      +16     
  Lines       39516    39690     +174     
  Branches     2411     2413       +2     
==========================================
+ Hits        12018    12063      +45     
- Misses      27467    27596     +129     
  Partials       31       31              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.