Skip to content

Commit f1ce754

Browse files
committed
fix: doc updates
1 parent c7d9597 commit f1ce754

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ script.
2828

2929
## Installation
3030

31-
Install the [`@googlemaps/js-api-loader` NPM package][npm-pkg] with:
31+
Install [`@googlemaps/js-api-loader`][npm-pkg] with:
3232

3333
```sh
3434
npm install --save @googlemaps/js-api-loader
@@ -40,8 +40,6 @@ yarn add @googlemaps/js-api-loader
4040
pnpm add @googlemaps/js-api-loader
4141
```
4242

43-
### TypeScript
44-
4543
TypeScript users should additionally install the types for the Google Maps
4644
JavaScript API:
4745

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,6 @@ function installImportLibrary_(options: APIOptions) {
143143
if (!importLibraryExists) bootstrap(options);
144144
}
145145

146+
// export the deprecated (and non-functional) Loader class to trigger a strong
147+
// error-message for users migrating to the new version
146148
export * from "./deprecated.js";

0 commit comments

Comments
 (0)