Closure property that throws Typed Error in Swift 6 result in compiling error

There are problems with implicit typing. The Swift 6 Language Mode does not help. But so far, I've found that you can get around them with explicitness.

let example = Example { () throws(TypedError) in throw .failed }