Skip to content

Commit 378c56b

Browse files
Update dist folder [skip ci] (#1423)
1 parent be31863 commit 378c56b

3 files changed

Lines changed: 43 additions & 16 deletions

File tree

dist/samples/advanced-markers-collision/app/index.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
// [START maps_advanced_markers_collision]
88
const mapElement = document.querySelector('gmp-map')!;
99

10+
declare namespace mdc {
11+
namespace select {
12+
class MDCSelect {
13+
constructor(el: Element | null);
14+
listen(evtType: string, handler: (event: Event) => void): void;
15+
value: string;
16+
}
17+
}
18+
}
19+
1020
// Initialize and add the map
1121
async function init(): Promise<void> {
1222
// Request needed libraries.
@@ -19,7 +29,6 @@ async function init(): Promise<void> {
1929

2030
const collisionBehavior: google.maps.CollisionBehaviorString = 'REQUIRED';
2131

22-
// @ts-expect-error: mdc not typed
2332
const select = new mdc.select.MDCSelect(
2433
document.querySelector('.mdc-select')
2534
);

dist/samples/advanced-markers-collision/docs/index.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
// [START maps_advanced_markers_collision]
88
const mapElement = document.querySelector('gmp-map')!;
99

10+
declare namespace mdc {
11+
namespace select {
12+
class MDCSelect {
13+
constructor(el: Element | null);
14+
listen(evtType: string, handler: (event: Event) => void): void;
15+
value: string;
16+
}
17+
}
18+
}
19+
1020
// Initialize and add the map
1121
async function init(): Promise<void> {
1222
// Request needed libraries.
@@ -19,7 +29,6 @@ async function init(): Promise<void> {
1929

2030
const collisionBehavior: google.maps.CollisionBehaviorString = 'REQUIRED';
2131

22-
// @ts-expect-error: mdc not typed
2332
const select = new mdc.select.MDCSelect(
2433
document.querySelector('.mdc-select')
2534
);

package-lock.json

Lines changed: 23 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)