TravBot-v3/src/defs/urban.d.ts

18 lines
361 B
TypeScript
Raw Normal View History

2021-04-08 11:37:49 +00:00
interface Definition {
id: number;
word: string;
thumbsUp: number;
thumbsDown: number;
author: string;
urbanURL: string;
example: string;
definition: string;
tags: string[] | null;
sounds: string[] | null;
}
declare module "relevant-urban" {
function urban(query: string): Promise<Definition>;
export = urban;
}