Removing `undefined` type or `?` specifier.
Open
good first issue
- Dominant language
- Python
- Stars
- 451
- Forks
- 707
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 91
Description
## Description
SonarCloud reports a violation of rule `typescript:S4782`. Optional property declarations should not use both `?` and `undefined`.
## Sonar Issue
https://sonarcloud.io/project/issues?open=AZ5vYOWvEtPFZsxg7_Xu&id=OWASP_Nest
## Affected Code
```bash
excludedUsernames?: Array | string | null | undefined;
```
## Note
In many file same SonarCloud violation `Consider removing 'undefined' type or '?' specifier, one of them is redundant.`
Contributor guide
Assessment
This issue has not been assessed yet.