Skip to content

Commit 4797d91

Browse files
committed
Fix compiler order issue
1 parent 590fe3b commit 4797d91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Sources/AnyPromise.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ typedef void (^PMKResolver)(id __nullable) NS_REFINED_FOR_SWIFT;
2525

2626
__attribute__((objc_subclassing_restricted)) __attribute__((objc_runtime_name("AnyPromise")))
2727
@interface AnyPromise : NSObject
28-
+ (instancetype __nonnull)promiseWithResolverBlock:(void (^ __nonnull)(__nonnull PMKResolver))resolveBlock;
28+
+ (instancetype __nonnull)promiseWithResolverBlock:(void (^ __nonnull)(__nonnull PMKResolver))resolveBlock NS_REFINED_FOR_SWIFT;
2929
@end
3030
#endif
3131

3232

3333

3434
@interface AnyPromise (ObjC)
3535

36+
/// - See: Promise.swift
37+
+ (instancetype __nonnull)promiseWithResolverBlock:(void (^ __nonnull)(__nonnull PMKResolver))resolveBlock;
38+
3639
- (instancetype __nonnull)initWithResolver:(PMKResolver __strong __nonnull * __nonnull)resolver NS_REFINED_FOR_SWIFT;
3740

3841
/**

0 commit comments

Comments
 (0)