Fixed typescript strict issue of Statusbar, hostedUtils, StringUtils etc (#785)

This commit is contained in:
Sunil Kumar Yadav
2021-07-15 20:05:51 +05:30
committed by GitHub
parent 0bbf9de963
commit 397231dca2
8 changed files with 20 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
export function stripSpacesFromString(inputString: string): string {
export function stripSpacesFromString(inputString?: string): string | undefined {
if (inputString === undefined || typeof inputString !== "string") {
return inputString;
}