Skip to content

Commit

Permalink
post: @types/google.picker
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Nov 4, 2024
1 parent 7d15e9d commit af5e901
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/posts/google-drive-picker-typescript.md
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
- 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.

0 comments on commit af5e901

Please sign in to comment.