Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable declaration clash in gapi.client.cloudiot and gapi.client.pubsub #31225

Closed
4 tasks
smtapp-smtio-cloud opened this issue Dec 10, 2018 · 3 comments
Closed
4 tasks

Comments

@smtapp-smtio-cloud
Copy link

If you know how to fix the issue, make a pull request instead.

  • I tried using the @types/xxxx package and had problems.
  • I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
  • I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
  • Mention the authors (see Definitions by: in index.d.ts) so they can respond.
    • Authors: @....

If you do not mention the authors the issue will be ignored.

@smtapp-smtio-cloud
Copy link
Author

node_modules/@types/gapi.client.cloudiot/index.d.ts(19,11): error TS2451: Cannot redeclare block-scoped variable 'projects'.
node_modules/@types/gapi.client.pubsub/index.d.ts(19,11): error TS2451: Cannot redeclare block-scoped variable 'projects'.

It seems that both packages declare variable 'projects' on the same scope (namespace gapi.client).

@Maxim-Mazurok
Copy link
Contributor

Hello, can you give the most recent versions of these packages a try?
It should be fixed by the new generator: Maxim-Mazurok/google-api-typings-generator

@orta
Copy link
Collaborator

orta commented Aug 3, 2021

Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the @types modules in DefinitelyTyped.

To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the definitely-typed channel.

@orta orta closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants