developit / developit/mitt

TypeScript complains when trying the provided typescript example

Aperta
#209 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
11.9k
Fork
488
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Image

Image

> Type 'Events' does not satisfy the constraint 'Record'.
> Index signature for type 'string' is missing in type 'Events'.ts(2344)

I have `"strict": true` in my tsconfig.json; I don't know what else I might be doing wrong

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.