poe-api-manager
Version:
poe.ninja and poe.watch API
11 lines (10 loc) • 314 B
TypeScript
/**
* Fetches data from the provided URL using Axios.
* @param url The URL to fetch data from.
* @returns A Promise that resolves with the fetched data.
* @throws If an error occurs during the fetch process.
*/
declare function fetchData(url: string): Promise<{
data: any[];
}>;
export default fetchData;