electron / electron/docs-parser

Bullet lists incorrectly take precedence over explicit `Returns <type>`

Aperta
#84 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
:beetle: bug
Lingua principale
TypeScript
Stelle
29
Fork
19
Merge medio
5h 31m
PR unite (30g)
2

Descrizione

See https://github.com/electron/electron/issues/37781 - this lead to a wildly incorrect return type of:

```ts
getPreferredSystemLanguages(): Array<'app.getLocale()' | 'app.getSystemLocale()' | 'app.getPreferredSystemLanguages()' | 'app.getLocale()' | 'app.getSystemLocale()' | 'app.getPreferredSystemLanguages()'>;
```

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.