Skip to content

reference type google.maps directive missing from 1.6.10 #1002

Open
@andyexeter

Description

@andyexeter

Hey there,

Up until v1.6.8 of this package the following line used to be included in dist/index.d.ts:

/// <reference types="google.maps" />

Since updating to v1.6.10 I noticed this line has been removed. This is causing breakage across our CI/CD workflows with code like this:

// my-map.ts
let map: google.maps.Map;

Now erroring with:

"error TS2503: Cannot find namespace 'google'."

Looking through the changelog I can't really see why the line was removed. Was this intentional or an unintentional side effect of a dependency update?

Adding the removed type reference to my-map.ts resolves the issue but it'd be good to know if this is planned to be added back in before I have to go update a load of different projects 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions