Skip to content

Commit c96b801

Browse files
committed
fix(type fix): onLayoutMeasured type fixed
1 parent dc12f98 commit c96b801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface BarcodeMaskProps {
3333
lineAnimationDuration?: number;
3434
animatedLineOrientation?: string;
3535
useNativeDriver?: boolean;
36-
onLayoutMeasured?: (event: LayoutChangeEvent) => {};
36+
onLayoutMeasured?: (event: LayoutChangeEvent) => void;
3737
}
3838

3939
declare class BarcodeMask extends Component<BarcodeMaskProps, {}> {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-barcode-mask",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "A barcode and QR code scan layout for react-native applications with customizable styling",
55
"main": "index.js",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)