OWASP/Nest

Removing `undefined` type or `?` specifier.

開放

#4,833 建立於 2026年6月4日

 (4 則留言) (0 個反應) (0 位負責人)Python (651 個分叉)auto 404
good first issue

倉庫指標

星標
 (412 顆星)
PR 合併指標
 (平均合併 2天 12小時) (30 天內合併 128 個 PR)

描述

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.

貢獻者指南