Conform more code to strictNullChecks (#10368

* Conform more code to `strictNullChecks`

* Iterate
This commit is contained in:
Michael Telatynski
2023-03-14 11:09:35 +00:00
committed by GitHub
parent 05e3fb09d6
commit 8cb8cd4eb1
24 changed files with 176 additions and 157 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ async function getContexts(): Promise<Contexts> {
};
}
export async function sendSentryReport(userText: string, issueUrl: string, error: Error): Promise<void> {
export async function sendSentryReport(userText: string, issueUrl: string, error?: Error): Promise<void> {
const sentryConfig = SdkConfig.getObject("sentry");
if (!sentryConfig) return;