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,
}
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 {