Skip to content
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

Followup: Types #830

Closed
7 tasks
Gozala opened this issue Dec 9, 2020 · 10 comments
Closed
7 tasks

Followup: Types #830

Gozala opened this issue Dec 9, 2020 · 10 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked

Comments

@Gozala
Copy link
Contributor

Gozala commented Dec 9, 2020

#802 has deliberately opt-ed out couple of modules from TS checking with an intent to address that in followups. This is an issue to track that effort.

What are we missing / What is next?

@Gozala Gozala mentioned this issue Dec 10, 2020
1 task
@vasco-santos vasco-santos changed the title Followup: Address @ts-nocheck's Followup: Types Dec 10, 2020
@vasco-santos
Copy link
Member

Thanks @Gozala ! Just added a checklist of things that need to be done in follow up

@vasco-santos vasco-santos added kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked labels Dec 10, 2020
@ryanio
Copy link

ryanio commented Jan 7, 2021

I found that the Libp2pModules type for the config is missing keys for peerDiscovery and dht.

@vasco-santos
Copy link
Member

Yes, thanks for adding that! We still need to create interfaces for peerDiscovery, peerRouting and so on to add the types here. For now they should be accepted as any while we finish that

@peterbraden
Copy link

Has anyone started working on the types for DHT etc? If not, I plan on creating a PR for these today.

@vasco-santos
Copy link
Member

Hey @peterbraden

Thanks for reaching out. It is not released yet but we just got types for the DHT per libp2p/js-libp2p-kad-dht#214 This does not include integration of the DHT config types in libp2p core as this issue is tracking.

You can see the broad state of types in #659 . If you would like to help out in any other module let me know

@peterbraden
Copy link

Ah, awesome, thanks for getting back to me so quickly!

I'll try these out locally, and get back to you if there are any other modules we use that I can contribute to.

@D4nte
Copy link
Contributor

D4nte commented Mar 4, 2021

I found that the Libp2pModules type for the config is missing keys for peerDiscovery and dht.

It is also missing the key for pubsub.

@vasco-santos
Copy link
Member

If someone would like to help getting this to the finish line would be super helpful

@SgtPooki
Copy link
Member

@wemeetagain
Copy link
Member

This can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked
Projects
None yet
Development

No branches or pull requests

7 participants