Skip to content

[core] use separate version for different platforms #36362

@jeremymeng

Description

@jeremymeng

For example, currently we have mixed usages of NodeJS and browser APIs in

body:
| ((() => ReadableStream<Uint8Array>) | (() => NodeJS.ReadableStream))
| ReadableStream<Uint8Array>
| NodeJS.ReadableStream
| Uint8Array
| Blob;

Ideally, we would have a NodeJS version, and a browser version, each uses their supported API. Then our type checking can be more accurate by including correct version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure.CoreClientThis issue points to a problem in the data-plane of the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions