-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
53 lines (49 loc) · 849 Bytes
/
global.d.ts
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
type Pokemon = Partial<{
id: number;
url: String;
name: String;
image: String;
artwork: String;
dreamworld: String;
}>;
type Abilities = {
ability: BaseName;
is_hidden: Boolean;
slot: number;
};
type BaseName = {
id: number;
url: String;
name: String;
};
type Stat = {
base_stat: number;
effort: number;
stat: BaseName;
};
type Type = {
name: String;
slot: number;
type: BaseName;
};
type Stats = Partial<{
abilities: [Ability];
base_experience: number;
forms: [BaseName];
game_indices: [GameIndex];
height: number;
held_items: [HeldItem];
id: number;
is_default: Boolean;
location_area_encounters: String;
moves: [Move];
name: String;
order: number;
species: BaseName;
sprites: Sprite;
stats: [Stat];
types: [Type];
weight: number;
status: Boolean;
message: String;
}>;