Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

TypeScript typings and possibly also Flow typings

Aperta
#222 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, typescript

Direzione di ricerca

Inizia esaminando issue #220 e la pull request #45201 di DefinitelyTyped, quindi determina le posizioni nel repository e quelle per la pubblicazione del pacchetto relative a dichiarazioni separate di TypeScript e possibili dichiarazioni di Flow. Il lavoro è completato quando le dichiarazioni sono incluse nel repository e pubblicate su NPM senza modificare la convenzione del codice sorgente ES3.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

after modules enhancement

It would be nice to have type declarations included within the repository and published to NPM, so that users don't need to rely on third-party type declarations (at least not for Contrib itself). This has been on @joshuacc's wish list but there was no ticket for it yet, at least not as far as I could tell.

I suggest to consider this a low priority enhancement. For maintenance reasons, it is probably best to wait with this at least until after #220 and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45201.

A note to whoever might take up on this in the future: we have a convention in Underscore to write the source code proper in pure ES3 (with ES6 import/export for module linking only), so that it is ready to ship to all supported environments without any transpilation. I'd prefer to uphold this same convention in Contrib. So if you decide to add type declarations, please keep them separate from the source code proper.

(I don't mean to rule out that I might add the typings myself, by the way, but everyone is welcome to do it.)

Lingua principale
JavaScript
Stelle
622
Fork
114
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di documentcloud/underscore-contrib

Tutte le issue di documentcloud/underscore-contrib

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.