Skip to content

interceptors does not have any exported type #2972

Description

@acommodari

Bug Description

when you try to import interceptors in TS it complains

Reproducible By

import {interceptors} from "undici"

within a TypeScript project

Expected Behavior

You should be able to import interceptors and use redirect/retry in TS

Logs & Screenshots

Screenshot 2024-03-18 at 4 09 13 PM

Environment

macOS Ventura 13.2.1
node 20.11.1
undici 6.9.0

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions