// x! asserts presence without proving it. Use Option and match instead.const first = (xs: string[]): string => xs.find((x) => x.length > 0)!;console.log(first(["", "a"]));// x! asserts presence without proving it. Use Option and match instead.const first = (xs: string[]): string => xs.find((x) => x.length > 0)!;console.log(first(["", "a"]));