From d01f621b3f5547062aebd9dc786fcd1cff4cda38 Mon Sep 17 00:00:00 2001 From: Helton Reis Date: Tue, 11 Apr 2023 10:42:33 -0300 Subject: [PATCH] feat: regenerated types to match api-data commit `0fad6c2b9` --- types/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 0f0697e..98a2238 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1352,6 +1352,7 @@ declare module 'pokedex-promise-v2' { interface OfficialArtwork { front_default: null | string; + front_shiny: null | string; } interface Versions { @@ -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. */ @@ -2013,7 +2014,7 @@ declare module 'pokedex-promise-v2' { cacheLimit?: number; } - + class PokeAPI { constructor(options?: PokeAPIOptions);