I have a SwiftUI app that I want to maintain iOS 13 support for, but on iOS 14 I want to use the new LazyVStack and LazyHStack. I was thinking typealias would be perfect for this, but wasn't sure how to properly set this up so the alias is used on iOS 13 but not on 14. I tried this, but believe this would make the alias available on iOS 13 and up, so would include it on iOS 14 too.
Is there a way to set the availability to iOS 13 only? Or is there a better way to do this?
@available(iOS 13.0, *)
typealias LazyVStack = VStack