scalar / openapi-parser

Modern OpenAPI parser written in TypeScript
MIT License
26 stars 7 forks source link

chore: improve types #122

Closed hanspagel closed 1 month ago

hanspagel commented 1 month ago

This PR deletes all @ts-ignore comments and all but one @ts-expect-error comments.

The remaining TypeScript error is caused by a package, that comes without types. It’s only used in the demo.

Doesn’t impact the published types.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 0a6a28ca4aba7ef482fd0ec12b59ad7a3138fb1a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

cloudflare-pages[bot] commented 1 month ago

Deploying openapi-parser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0a6a28c
Status: ✅  Deploy successful!
Preview URL: https://3de40545.openapi-parser.pages.dev
Branch Preview URL: https://chore-types.openapi-parser.pages.dev

View logs

relativeci[bot] commented 1 month ago

#80 Bundle Size — 114.71KiB (~-0.01%).

0a6a28c(current) vs 84e91c7 main#79(baseline)

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
#80
     Baseline
#79
Improvement  Initial JS 114.71KiB(~-0.01%) 114.71KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 1.81% 0%
No change  Chunks 45 45
No change  Assets 45 45
No change  Modules 45 45
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 0 0
No change  Duplicate Packages 0 0

Bundle size by type  Change 1 change Improvement 1 improvement
|            |       Current
[#80](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/80-mwud2oXo9wbuhJc5L0pG?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#79](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/79-5g5RQ8v1R6rWsS0PS4lB?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Improvement  [JS](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/80-mwud2oXo9wbuhJc5L0pG/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `114.71KiB` (`~-0.01%`) | `114.71KiB` |

Bundle analysis reportBranch chore/typesProject dashboard