Skip to content

Commit dcd8079

Browse files
Merge pull request #681 from WookieFPV/master
param peripheralPin of createBond should be typed as optional
2 parents 596df41 + 5062d3a commit dcd8079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ declare module "react-native-ble-manager" {
114114

115115
export function createBond(
116116
peripheralID: string,
117-
peripheralPin: string
117+
peripheralPin?: string
118118
): Promise<void>;
119119
export function removeBond(peripheralID: string): Promise<void>;
120120
export function getBondedPeripherals(): Promise<Peripheral[]>;

0 commit comments

Comments
 (0)