pokeapi-typescript
Version:
Typescript SDK for PokeAPI (https://pokeapi.co)
16 lines (15 loc) • 491 B
TypeScript
import type { Name } from "../Utility/CommonModels";
import type { Language } from "../Utility/Language";
import type { NamedApiResource } from "../Utility/NamedApiResourceList";
import type { PokemonSpecies } from "./PokemonSpecies";
export type PokemonShape = {
awesome_names: AwesomeName[];
id: number;
name: string;
names: Name[];
pokemons_species: PokemonSpecies;
};
export type AwesomeName = {
awesome_name: string;
language: NamedApiResource<Language>;
};