Skip to content

Commit

Permalink
Fixed the typo: cosnt -> const (#6798)
Browse files Browse the repository at this point in the history
Co-authored-by: Ping Yu <[email protected]>
Co-authored-by: Jen Person <[email protected]>
  • Loading branch information
3 people authored Sep 15, 2022
1 parent 7423ee7 commit 9317f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfjs-react-native/src/decode_image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ enum ImageType {
* const imageUri = 'http://image-uri-here.example.com/image.jpg'; *
* const response = await fetch(imageUri, {}, { isBinary: true });
* const imageDataArrayBuffer = await response.arrayBuffer();
* cosnt imageData = new Uint8Array(imageDataArrayBuffer);
* const imageData = new Uint8Array(imageDataArrayBuffer);
*
* // Decode image data to a tensor
* const imageTensor = decodeJpeg(imageData);
Expand Down

0 comments on commit 9317f2e

Please sign in to comment.