Skip to content

Fix type error #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

twoeths
Copy link

@twoeths twoeths commented Dec 23, 2021

Motivation

Got Cannot export 'AbortSignal'. Only local declarations can be exported from a module error as specified in libp2p/js-libp2p#1073 (comment)

Description

@dapplion
Copy link

CC @wemeetagain

@JamesEarle
Copy link

JamesEarle commented Dec 30, 2021

Following as I'm experiencing this bug

@achingbrain
Copy link
Owner

I'd rather not use hand-rolled .d.ts files as they aren't checked by linting tools and we've previously shipped broken .d.ts files by accident because of this.

AbortController and AbortSignal are supported globally by node 14+ so this module shouldn't be necessary any more?

@achingbrain
Copy link
Owner

Tracking issue for removing this module from the ipfs/libp2p stacks: ipfs/js-ipfs#4001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants