Missing types in node export · Issue #390 · unjs/ofetch · GitHub
Skip to content

Missing types in node export #390

Description

@Aareksio

Environment

node 21

Reproduction

https://unpkg.com/ofetch@1.3.4/dist/index.d.ts
https://unpkg.com/ofetch@1.3.4/dist/node.d.ts

Describe the bug

node.d.ts is missing type exports present in index.d.ts

Additional context

< export { C as CreateFetchOptions, g as Fetch, b as FetchContext, F as FetchError, d as FetchOptions, h as FetchRequest, f as FetchResponse, G as GlobalOptions, I as IFetchError, M as MappedResponseType, R as ResponseMap, e as ResponseType, S as SearchParameters, c as createFetch, a as createFetchError } from './shared/ofetch.8459ad38.mjs';
---
> export { F as FetchError, c as createFetch, a as createFetchError } from './shared/ofetch.8459ad38.mjs';

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions