animality
Advanced tools
Comparing version 1.3.2 to 1.3.3
declare module 'animality' { | ||
interface AnimalObject { | ||
name: string; | ||
image: string; | ||
fact: string; | ||
} | ||
namespace fns { | ||
export function getAsync(type?: string | string[]): Promise<AnimalObject | AnimalObject[]>; | ||
} | ||
export = fns; | ||
interface AnimalObject { | ||
name: string; | ||
image: string; | ||
fact: string; | ||
} | ||
namespace fns { | ||
export function getAsync(type?: string | string[]): Promise<AnimalObject | AnimalObject[]>; | ||
} | ||
export = fns; | ||
} |
{ | ||
"name": "animality", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A simple API wrapper that generates images & facts of any animal", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4092