OWASP/Nest

Removing `undefined` type or `?` specifier.

Ouverte

#4 833 ouverte le 4 juin 2026

 (4 commentaires) (0 réaction) (0 personne assignée)Python (651 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (412 étoiles)
Métriques de merge PR
 (Merge moyen 2j 12h) (128 PRs mergées en 30 j)

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

excludedUsernames?: Array<string> | string | null | undefined;

Note

In many file same SonarCloud violation Consider removing 'undefined' type or '?' specifier, one of them is redundant.

Guide contributeur