contentlayerdev / contentlayerdev/contentlayer

TS error for self-referencing type definitions

Aperta
#4 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug meta: never-stale pkg/source-files
Lingua principale
TypeScript
Stelle
3.5k
Fork
192
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![image](https://user-images.githubusercontent.com/1567498/136536316-ae0beaad-838b-4635-b99d-16b8857ea826.png)

```
'Link' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
```

Workaround: Use `any`

![image](https://user-images.githubusercontent.com/1567498/136536386-a807fc8f-40ab-41af-8236-c03f46dca2e0.png)

cc @seancdavis

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.