Skip to content

Commit

Permalink
fix(type fix): onLayoutMeasured type fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shahnawaz committed Jun 22, 2020
1 parent dc12f98 commit c96b801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface BarcodeMaskProps {
lineAnimationDuration?: number;
animatedLineOrientation?: string;
useNativeDriver?: boolean;
onLayoutMeasured?: (event: LayoutChangeEvent) => {};
onLayoutMeasured?: (event: LayoutChangeEvent) => void;
}

declare class BarcodeMask extends Component<BarcodeMaskProps, {}> {}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-barcode-mask",
"version": "1.2.3",
"version": "1.2.4",
"description": "A barcode and QR code scan layout for react-native applications with customizable styling",
"main": "index.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit c96b801

Please sign in to comment.