OWASP/Nest

Removing `undefined` type or `?` specifier.

Aberta

#4.833 aberto em 4 de jun. de 2026

 (4 comentários) (0 reação) (0 responsável)Python (651 forks)auto 404
good first issue

Métricas do repositório

Stars
 (412 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 12h) (128 fundiu PRs em 30d)

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.

Guia do colaborador