Skip to content

Commit 91f9aee

Browse files
authored
Rename initMap function to init
The rule is clear but the resulting error messages are inscrutable.
1 parent 41b5178 commit 91f9aee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • samples/3d-accessibility-features

samples/3d-accessibility-features/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
// [START maps_3d_accessibility_features]
8-
async function initMap(): Promise<void> {
8+
async function init(): Promise<void> {
99
// Import the needed libraries.
1010
const [{ Marker3DInteractiveElement, PopoverElement }, { PinElement }] =
1111
await Promise.all([
@@ -74,5 +74,5 @@ async function initMap(): Promise<void> {
7474
document.body.append(map3DElement);
7575
}
7676

77-
void initMap();
77+
void init();
7878
// [END maps_3d_accessibility_features]

0 commit comments

Comments
 (0)