HomePhabricator
Diffusion Comm 79cf16636605

[native] Create Flow ExpoBarcodeScanner libdef

Description

[native] Create Flow ExpoBarcodeScanner libdef

Summary:
To use certain types when writing the BarCodeScanner integration, it'll probably be useful to have the types available (not entirely necessary, so this can always be abandoned / revisited at a later point if it takes too much time).

Mainly used the types in the flow-typed repo as inspiration alongside the actual typescript file from expo. I did only include the methods in the class that I planned to use, but if it's better to include them all I can do that

Depends on D8770

Test Plan: Confirmed that I can now use these types on native. Also ran flow and no errors were present

Reviewers: atul, ginsu, tomek, varun

Reviewed By: atul

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8771

Details

Provenance
rohanAuthored on Aug 9 2023, 11:18 AM
Reviewer
atul
Differential Revision
D8771: [native] Create Flow ExpoBarcodeScanner libdef
Parents
rCOMM22d3ec784069: [native] Add the ExpoBarcodeScanner package
Branches
Unknown
Tags
Unknown