Skip to content

Commit

Permalink
fix: type def for transceive
Browse files Browse the repository at this point in the history
  • Loading branch information
whitedogg13 committed Mar 12, 2021
1 parent c410ff4 commit a0bb82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ declare module 'react-native-nfc-manager' {
}

interface NfcAHandler {
transceive: (bytes: number[]) => Promise<void>;
transceive: (bytes: number[]) => Promise<number[]>;
}

interface IsoDepHandler {
transceive: (bytes: number[]) => Promise<void>;
transceive: (bytes: number[]) => Promise<number[]>;
}

interface MifareClassicHandlerAndroid {
Expand Down

0 comments on commit a0bb82c

Please sign in to comment.