Fix types

This commit is contained in:
Johannes Marbach
2023-02-04 20:22:03 +01:00
parent 73fdef2174
commit a3d09937d6
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ limitations under the License.
import { _t } from "../../languageHandler";
import SdkConfig from "../../SdkConfig";
export const positionFailureMessage = (code: number): string => {
export const positionFailureMessage = (code: number): string | undefined => {
const brand = SdkConfig.get().brand;
switch (code) {
case 1: