fix: location class type (#718)

This commit is contained in:
stefanfuchs 2021-07-11 21:54:32 -03:00 • committed by GitHub
commit efa6cf98d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
index.d.ts vendored
View file

@ -600,10 +600,13 @@ declare namespace WAWebJS {
_serialized: string, _serialized: string,
} }
export interface Location { /** Location information */
description?: string | null, export class Location {
latitude: string, description?: string | null
longitude: string, latitude: string
longitude: string
constructor(latitude: number, longitude: number, description?: string)
} }
export interface Label { export interface Label {