Open harshlodhi82 opened 3 years ago
@harshlodhi82 in the meantime you can build it yourself, e.g:
declare module 'google-trends-api' {
export interface TrendOptions {
keyword: string | string[],
startTime?: Date,
endTime?: Date,
geo?: string | string[],
hl?: string,
timezone?: number,
category?: number,
property?: string,
granularTimeResolution?: boolean
}
interface InterestOverTimeResult {
"default": {
"timelineData": [{
"time": string,
"formattedTime": string,
"formattedAxisTime": string,
"value": number[],
"formattedValue": string[]
}]
}
}
export function interestOverTime(options: any): Promise<InterestOverTimeResult>;
}
Thanks for the Help @Fohlen 👍
Hi, I need to use this package with the TypeScript based node/express application but I think it doesn't support it yet, Please kindly give the support for the TypeScript. Thanks