diff --git a/index.d.ts b/index.d.ts index bc89809..156a3db 100644 --- a/index.d.ts +++ b/index.d.ts @@ -600,10 +600,13 @@ declare namespace WAWebJS { _serialized: string, } - export interface Location { - description?: string | null, - latitude: string, - longitude: string, + /** Location information */ + export class Location { + description?: string | null + latitude: string + longitude: string + + constructor(latitude: number, longitude: number, description?: string) } export interface Label {