// TODO: A temporary workaround for Xcode 13.3 compiler issue. Should remove after https://bugs.swift.org/browse/SR-15807 is fixed. import Foundation import Defaults extension Defaults.Serializable where Self: Codable { public static var bridge: Defaults.TopLevelCodableBridge { Defaults.TopLevelCodableBridge() } } extension Defaults.Serializable where Self: Codable & NSSecureCoding { public static var bridge: Defaults.CodableNSSecureCodingBridge { Defaults.CodableNSSecureCodingBridge() } } extension Defaults.Serializable where Self: Codable & NSSecureCoding & Defaults.PreferNSSecureCoding { public static var bridge: Defaults.NSSecureCodingBridge { Defaults.NSSecureCodingBridge() } } extension Defaults.Serializable where Self: Codable & RawRepresentable { public static var bridge: Defaults.RawRepresentableCodableBridge { Defaults.RawRepresentableCodableBridge() } } extension Defaults.Serializable where Self: Codable & RawRepresentable & Defaults.PreferRawRepresentable { public static var bridge: Defaults.RawRepresentableBridge { Defaults.RawRepresentableBridge() } } extension Defaults.Serializable where Self: RawRepresentable { public static var bridge: Defaults.RawRepresentableBridge { Defaults.RawRepresentableBridge() } } extension Defaults.Serializable where Self: NSSecureCoding { public static var bridge: Defaults.NSSecureCodingBridge { Defaults.NSSecureCodingBridge() } } extension Defaults.CollectionSerializable where Element: Defaults.Serializable { public static var bridge: Defaults.CollectionBridge { Defaults.CollectionBridge() } } extension Defaults.SetAlgebraSerializable where Element: Defaults.Serializable & Hashable { public static var bridge: Defaults.SetAlgebraBridge { Defaults.SetAlgebraBridge() } }