-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
Node : 20.11.0
OS : darwin-arm64
npm : 10.2.4
@googlemaps/[email protected]
@types/[email protected]
[email protected]
@angular/[email protected]
Using esbuild in Angular v17.2.1.
Steps to reproduce
This error fails a build while trying to import { Loader } from '@googlemaps/js-api-loader';
Stack trace
✘ [ERROR] TS7016: Could not find a declaration file for module '@googlemaps/js-api-loader'. '/Users/.../node_modules/@googlemaps/js-api-loader/dist/index.umd.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/googlemaps__js-api-loader` if it exists or add a new declaration (.d.ts) file containing `declare module '@googlemaps/js-api-loader';` [plugin angular-compiler]
apps/.../google-maps.ts:2:23:
2 │ import { Loader } from '@googlemaps/js-api-loader';
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Watch mode enabled. Watching for file changes...
Thank you!
cgarrovillo, VictorDuarteShowpass, IsraelVazquezEsparza, outruller, charlesfries and 19 morecgarrovillo
Metadata
Metadata
Assignees
Labels
priority: p0Highest priority. Critical issue. P0 implies highest priority.Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.