Skip to content

Commit

Permalink
feat: regenerated types to match api-data commit 0fad6c2b9
Browse files Browse the repository at this point in the history
  • Loading branch information
HRKings committed Apr 11, 2023
1 parent 734f45f commit d01f621
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ declare module 'pokedex-promise-v2' {

interface OfficialArtwork {
front_default: null | string;
front_shiny: null | string;
}

interface Versions {
Expand Down Expand Up @@ -1721,7 +1722,7 @@ declare module 'pokedex-promise-v2' {
/** The generation this Pokémon species was introduced in. */
generation: NamedAPIResource;
/** The rate at which this Pokémon species gains levels. */
growth_rate: NamedAPIResource;
growth_rate: null | NamedAPIResource;
/** The habitat this Pokémon species can be encountered in. */
habitat: null | NamedAPIResource;
/** Whether or not this Pokémon has visual gender differences. */
Expand Down Expand Up @@ -2013,7 +2014,7 @@ declare module 'pokedex-promise-v2' {
cacheLimit?: number;
}



class PokeAPI {
constructor(options?: PokeAPIOptions);
Expand Down

0 comments on commit d01f621

Please sign in to comment.