Created
January 8, 2021 20:54
-
-
Save washingtonsoares/6fa5ca173da26e5968c74e74d125a633 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type Product = { | |
| id: number; | |
| name: string; | |
| price: number; | |
| description: string; | |
| imageUri: string; | |
| } | |
| export type OrderLocationData = { | |
| latitude: number; | |
| longitude: number; | |
| address: string; | |
| } | |
| type ProductId = { | |
| id: number; | |
| } | |
| export type OrderPayload = { | |
| products: ProductId[]; | |
| } & OrderLocationData; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment