We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e053f commit d5591e7Copy full SHA for d5591e7
index.d.ts
@@ -1,14 +1,14 @@
1
declare module "pokeapi-js-wrapper" {
2
export class Pokedex {
3
constructor(config?: {
4
- protocol: string,
5
- hostName: string,
6
- versionPath: string,
7
- offset: number
8
- limit: number,
9
- timeout: number,
10
- cache: boolean,
11
- cacheImages: boolean
+ protocol?: string,
+ hostName?: string,
+ versionPath?: string,
+ offset?: number
+ limit?: number,
+ timeout?: number,
+ cache?: boolean,
+ cacheImages?: boolean
12
});
13
14
getBerryByName(name: string | number | string[] | number[]): Promise<object>;
0 commit comments