glideapps / quicktype

Generate types and converters from JSON, Schema, and GraphQL
https://app.quicktype.io
Apache License 2.0
11.76k stars 1.04k forks source link

fix: Resolve ReadableStream types issue in test suite #2581

Closed inferrinizzard closed 2 months ago

inferrinizzard commented 2 months ago

Description

Related to #2573. GH Actions CI uses a browser fetch instead of Node-based fetch so the response.body will return as WebStreams.ReadableStream instead of NodeJS.ReadableStream from cross-fetch.

Only allows CI to use cross-fetch instead.

Motivation and Context

Resolves a types issue occurring in GH CI Pipeline

Previous Behaviour / Output

N/a

New Behaviour / Output

N/aa

How Has This Been Tested?

Screenshots (if appropriate):