electron / electron/docs-parser

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

Open
#84 1 comment 0 reactions 0 assignees View on GitHub
:beetle: bug
Dominant language
TypeScript
Stars
29
Forks
19
Avg merge
5h 31m
Merged PRs (30d)
2

Description

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()'>;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.