OWASP/Nest

Removing `undefined` type or `?` specifier.

オープン

#4,833 opened on 2026/06/04

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Python (651 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (412 個のスター)
PR merge metrics
 (平均マージ 2d 12h) (30d で 128 merged PRs)

説明

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.

コントリビューターガイド