Skip to content

Commit 95499df

Browse files
authored
Merge pull request #22270 from moiseev/inparameter
Fix INParameter availability
2 parents b6c1ac0 + 8f5877b commit 95499df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Darwin/Intents/INParameter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
@_exported import Intents
1414
import Foundation
1515

16-
#if os(iOS) || os(watchOS)
17-
@available(iOS 11.0, watchOS 4.0, *)
16+
#if os(iOS)
17+
@available(iOS 11.0, *)
1818
extension INParameter {
1919
@nonobjc
2020
public convenience init?<Root, Value>(keyPath: KeyPath<Root, Value>) {

0 commit comments

Comments
 (0)