hiphople-news
Version:
hiphople news crawler
13 lines (12 loc) • 417 B
TypeScript
export interface HiphopleArticle {
id?: string;
href?: string;
backgroundImage?: string;
title?: string;
date?: string;
view?: string;
}
declare type WorldOrKorea = 'world' | 'korea';
export declare const getLatestHiphopleNews: (type: WorldOrKorea) => Promise<HiphopleArticle | null>;
export declare const getHiphopleNews: (type: WorldOrKorea) => Promise<HiphopleArticle[] | null>;
export {};