Skip to content

Google Drive Picker TypeScript - Types Updated

Published on Markdown

Update: See React Wrapper for Google Drive Picker for a React component with built-in types.

Last week I submited 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.

The versions of @types/google.picker in this switchover are:

You can update with the following command:

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.

Disclaimer: I am a member of the Google Workspace Developer Relations team. The opinions expressed here are my own and do not necessarily represent those of Google.

© 2024 by Justin Poehnelt is licensed under CC BY-SA 4.0