Skip to content

Commit ca2144f

Browse files
Fix API availability
1 parent 49aa39d commit ca2144f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/LightTableDelta/Delta.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ extension Delta: Encodable where Element: Encodable {
371371
#if canImport(Foundation)
372372
import Foundation
373373

374-
@available(macOS 12, *)
374+
@available(macOS 12, iOS 15, tvOS 15, visionOS 1, watchOS 8, *)
375375
extension Delta: EncodableWithConfiguration where Element: EncodableWithConfiguration {
376376
public typealias EncodingConfiguration = Element.EncodingConfiguration
377377

@@ -416,7 +416,7 @@ extension Delta: Decodable where Element: Decodable {
416416
#if canImport(Foundation)
417417
import Foundation
418418

419-
@available(macOS 12, *)
419+
@available(macOS 12, iOS 15, tvOS 15, visionOS 1, watchOS 8, *)
420420
extension Delta: DecodableWithConfiguration where Element: DecodableWithConfiguration {
421421
public typealias DecodingConfiguration = Element.DecodingConfiguration
422422

0 commit comments

Comments
 (0)