@@ -217,14 +217,14 @@ declare class FBSDKAppInviteDialog extends NSObject {
217217
218218 static showWithContentDelegate ( content : FBSDKAppInviteContent , delegate : FBSDKAppInviteDialogDelegate ) : FBSDKAppInviteDialog ;
219219
220+ readonly canShow : boolean ;
221+
220222 content : FBSDKAppInviteContent ;
221223
222224 delegate : FBSDKAppInviteDialogDelegate ;
223225
224226 fromViewController : UIViewController ;
225227
226- canShow ( ) : boolean ;
227-
228228 show ( ) : boolean ;
229229
230230 validateWithError ( ) : boolean ;
@@ -455,14 +455,14 @@ declare class FBSDKGameRequestDialog extends NSObject {
455455
456456 static showWithContentDelegate ( content : FBSDKGameRequestContent , delegate : FBSDKGameRequestDialogDelegate ) : FBSDKGameRequestDialog ;
457457
458+ readonly canShow : boolean ;
459+
458460 content : FBSDKGameRequestContent ;
459461
460462 delegate : FBSDKGameRequestDialogDelegate ;
461463
462464 frictionlessRequestsEnabled : boolean ;
463465
464- canShow ( ) : boolean ;
465-
466466 show ( ) : boolean ;
467467
468468 validateWithError ( ) : boolean ;
@@ -734,6 +734,8 @@ declare class FBSDKMessageDialog extends NSObject implements FBSDKSharingDialog
734734
735735 static showWithContentDelegate ( content : FBSDKSharingContent , delegate : FBSDKSharingDelegate ) : FBSDKMessageDialog ;
736736
737+ readonly canShow : boolean ; // inherited from FBSDKSharingDialog
738+
737739 readonly debugDescription : string ; // inherited from NSObjectProtocol
738740
739741 delegate : FBSDKSharingDelegate ; // inherited from FBSDKSharing
@@ -752,8 +754,6 @@ declare class FBSDKMessageDialog extends NSObject implements FBSDKSharingDialog
752754
753755 readonly // inherited from NSObjectProtocol
754756
755- canShow ( ) : boolean ;
756-
757757 class ( ) : typeof NSObject ;
758758
759759 conformsToProtocol ( aProtocol : any /* Protocol */ ) : boolean ;
@@ -848,6 +848,8 @@ declare class FBSDKShareAPI extends NSObject implements FBSDKSharing {
848848
849849 accessToken : FBSDKAccessToken ;
850850
851+ readonly canShare : boolean ;
852+
851853 graphNode : string ;
852854
853855 message : string ;
@@ -870,8 +872,6 @@ declare class FBSDKShareAPI extends NSObject implements FBSDKSharing {
870872
871873 readonly // inherited from NSObjectProtocol
872874
873- canShare ( ) : boolean ;
874-
875875 class ( ) : typeof NSObject ;
876876
877877 conformsToProtocol ( aProtocol : any /* Protocol */ ) : boolean ;
@@ -1068,6 +1068,8 @@ declare class FBSDKShareDialog extends NSObject implements FBSDKSharingDialog {
10681068
10691069 mode : FBSDKShareDialogMode ;
10701070
1071+ readonly canShow : boolean ; // inherited from FBSDKSharingDialog
1072+
10711073 readonly debugDescription : string ; // inherited from NSObjectProtocol
10721074
10731075 delegate : FBSDKSharingDelegate ; // inherited from FBSDKSharing
@@ -1086,8 +1088,6 @@ declare class FBSDKShareDialog extends NSObject implements FBSDKSharingDialog {
10861088
10871089 readonly // inherited from NSObjectProtocol
10881090
1089- canShow ( ) : boolean ;
1090-
10911091 class ( ) : typeof NSObject ;
10921092
10931093 conformsToProtocol ( aProtocol : any /* Protocol */ ) : boolean ;
@@ -2422,7 +2422,7 @@ declare var FBSDKSharingDelegate: {
24222422
24232423interface FBSDKSharingDialog extends FBSDKSharing {
24242424
2425- canShow ( ) : boolean ;
2425+ canShow : boolean ;
24262426
24272427 show ( ) : boolean ;
24282428}
0 commit comments