Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_setDisplayName: Replace optional chaining with proper error handing
With the current code, it is not possible for resources[i-1] to be undefined. Make this clear with type narrowing.
- Loading branch information