-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: post | ||
title: Google Drive Picker TypeScript - Types Updated | ||
excerpt: Last week I submitted a pull request to the DefinitelyTyped repository for the Google Drive Picker API. Not a big deal in itself, but these types are generated from the same source as the Google Drive Picker reference documentation and should be more correct and consistent than the community types that were previously in the DefinitelyTyped repository. | ||
tags: | ||
- post | ||
- code | ||
- google workspace | ||
- drive | ||
- picker | ||
- typescript | ||
- definitelytyped | ||
date: "2024-11-04T00:00:00.000Z" | ||
hideToc: true | ||
--- | ||
|
||
Last week I submited a [pull request to the DefinitelyTyped repository](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70926) for the Google Drive Picker API. Not a big deal in itself, but these types are generated from the same source as the [Google Drive Picker reference documentation](https://developers.google.com/drive/picker/reference/picker) and _should_ be more correct and consistent than the community types that were previously in the DefinitelyTyped repository. | ||
|
||
The versions of [`@types/google.picker`](https://www.npmjs.com/package/@types/google.picker?activeTab=versions) in this switchover are: | ||
|
||
- `@types/[email protected]` === old community types | ||
- `@types/[email protected]` === new autogenerated types | ||
|
||
You can update with the following command: | ||
|
||
```sh | ||
npm install -D @types/google.picker@^0.0.44 | ||
``` | ||
|
||
If you find any mistakes or inconsistencies in the types, please open an issue at https://issuetracker.google.com/issues/new?component=191628 and not the DefinitelyTyped repository since the Google team will need to make the changes. |