-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtyping.ts
More file actions
36 lines (34 loc) · 742 Bytes
/
typing.ts
File metadata and controls
36 lines (34 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export type Listing = {
url: string;
title: string;
rating: string | null;
description: string;
price: string;
link: string;
bookingdata: string;
ratingword: string;
ratingcount: string | null;
}
export type Result = {
content: {
listings: Listing[];
totallisting: string;
}
}
// export type Listing = {
// url: string;
// title: string;
// rating: string | null;
// description: string;
// price: string;
// link: string;
// booking_metadata: string;
// rating_word: string;
// rating_count: string | null;
// };
// export type Result = {
// content: {
// listings: Listing[];
// total_listings: string;
// };
// };