Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/google-maps/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ rules_js_tsconfig(
],
)

rules_js_tsconfig(
name = "tsconfig",
src = "tsconfig-build.json",
deps = [
"//:node_modules/@types/google.maps",
"//src:build-tsconfig",
],
)

ng_project(
name = "google-maps",
srcs = glob(
Expand All @@ -23,6 +32,7 @@ ng_project(
"**/*.spec.ts",
],
),
tsconfig = ":tsconfig",
deps = [
"//:node_modules/@angular/common",
"//:node_modules/@angular/core",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
AfterContentInit,
ChangeDetectionStrategy,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/google-map/google-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
ChangeDetectionStrategy,
Component,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-advanced-marker/map-advanced-marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Input,
OnDestroy,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-anchor-point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

export interface MapAnchorPoint {
getAnchor(): google.maps.MVCObject | google.maps.marker.AdvancedMarkerElement;
}
3 changes: 0 additions & 3 deletions src/google-maps/map-base-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {Directive, NgZone, OnDestroy, OnInit, inject} from '@angular/core';

import {GoogleMap} from './google-map/google-map';
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-bicycling-layer/map-bicycling-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {Directive, EventEmitter, NgZone, OnDestroy, OnInit, Output, inject} from '@angular/core';

import {GoogleMap} from '../google-map/google-map';
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-circle/map-circle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
EventEmitter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
EventEmitter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {Injectable, NgZone, inject} from '@angular/core';
import {Observable} from 'rxjs';

Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-geocoder/map-geocoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {Injectable, NgZone, inject} from '@angular/core';
import {Observable} from 'rxjs';

Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-ground-overlay/map-ground-overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
EventEmitter,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-heatmap-layer/map-heatmap-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Input,
OnDestroy,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-info-window/map-info-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
ElementRef,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-kml-layer/map-kml-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
EventEmitter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
ChangeDetectionStrategy,
Component,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-marker/map-marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Input,
OnDestroy,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-polygon/map-polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
Input,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-polyline/map-polyline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
Input,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-rectangle/map-rectangle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
Input,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-traffic-layer/map-traffic-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {
Directive,
EventEmitter,
Expand Down
3 changes: 0 additions & 3 deletions src/google-maps/map-transit-layer/map-transit-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
* found in the LICENSE file at https://angular.dev/license
*/

// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
/// <reference types="google.maps" preserve="true" />

import {Directive, EventEmitter, NgZone, OnDestroy, OnInit, Output, inject} from '@angular/core';

import {GoogleMap} from '../google-map/google-map';
Expand Down
6 changes: 6 additions & 0 deletions src/google-maps/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../bazel-tsconfig-build.json",
"compilerOptions": {
"types": ["google.maps"]
}
}
2 changes: 1 addition & 1 deletion src/google-maps/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"rootDir": "..",
"baseUrl": ".",
"paths": {},
"types": ["jasmine"]
"types": ["jasmine", "google.maps"]
},
"include": ["./**/*.ts", "../dev-mode-types.d.ts"]
}
Loading