File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -2225,27 +2225,29 @@ declare module "pokeapi-js-wrapper" {
2225
2225
2226
2226
export class Pokedex {
2227
2227
constructor ( config ?: {
2228
- /** The protocol to be used */
2229
- /* * @default 'https' */
2228
+ /** The protocol to be used
2229
+ * @default 'https' */
2230
2230
protocol ?: "https" | "http" ;
2231
- /** The hostname of the PokeAPI instance */
2232
- /* * @default 'pokeapi.co' */
2231
+ /** The hostname of the PokeAPI instance
2232
+ * @default 'pokeapi.co' */
2233
2233
hostName ?: string ;
2234
- /** The version path of the API */
2235
- /* * @default '/api/v2/' */
2234
+ /** The version path of the API
2235
+ * @default '/api/v2/' */
2236
2236
versionPath ?: string ;
2237
- /** The offset to be used in list requests */
2238
- /* * @default 0 */
2237
+ /** The offset to be used in list requests
2238
+ * @default 0 */
2239
2239
offset ?: number ;
2240
- /** The limit to be used in list requests */
2241
- /* * @default 100000 */
2240
+ /** The limit to be used in list requests
2241
+ * @default 100000 */
2242
2242
limit ?: number ;
2243
- /** The timeout of a response in milliseconds */
2244
- /* * @default 10 * 1000 // (10 seconds) */
2243
+ /** The timeout of a response in milliseconds
2244
+ * @default 10 * 1000 // (10 seconds) */
2245
2245
timeout ?: number ;
2246
- /** @default true */
2246
+ /** Enables browsers to cache all responses when set to `true`
2247
+ * @default true */
2247
2248
cache ?: boolean ;
2248
- /** @default false */
2249
+ /** Enables browsers to cache images when set to `true`. [Learn more](https://github.com/PokeAPI/pokeapi-js-wrapper#caching-images)
2250
+ * @default false */
2249
2251
cacheImages ?: boolean ;
2250
2252
} ) ;
2251
2253
You can’t perform that action at this time.
0 commit comments