Skip to content

Commit

Permalink
fix(ts): fix method return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mateogianolio committed Oct 11, 2023
1 parent 0116683 commit ea7e2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export class ESPDevice implements ESPDeviceInterface {
return EspIdfProvisioning.isSessionEstablished(this.name);
}

getProofOfPossession(): string | undefined {
getProofOfPossession(): Promise<string | undefined> {
return EspIdfProvisioning.getProofOfPossession(this.name);
}

scanWifiList(): ESPWifiList[] {
scanWifiList(): Promise<ESPWifiList[]> {
return EspIdfProvisioning.scanWifiList(this.name);
}

Expand Down

0 comments on commit ea7e2ec

Please sign in to comment.