-
Notifications
You must be signed in to change notification settings - Fork 45
TypeScript Definition File #140
Comments
Greetings @ifiokjr, and thanks for the types! It's awesome that these are available on DefinitelyTyped. I think it's fine to leave them there for now, while we figure out an all up plan to convert this library over to TypeScript. Thanks for doing this! |
Sound great! Also so you know, they haven't been merged yet so not currently available. It's being blocked by external dependencies on |
We need TypeScript types too |
Glad to find this issue via a Google Search! I'm re-opening this issue because:
I'd expect this issue to be open to track the progress of official support. For context, I'm building a Tasks application with TS and started searching around when I found no autocompletion for my methods. |
As of now, we had been tracking this over at googleapis/google-cloud-node#952. @grant - how would you prefer we track this?
|
Thanks for listening. I was sort of expecting a section like this when reading the README: https://github.com/googleapis/google-api-nodejs-client#typescript I understand the need to not have 80 duplicative issues, but even a:
...in each repo would be better than nothing or having developers like me look at GitHub issues. |
@grant as we move towards TypeScript micro-generators for gRPC libraries, we will be starting to introduce types. |
This was completed in |
Sorry to resurrect an old issue, but it still doesn't export |
No problem! I'm not sure this is actually required, is it? I just created a fresh project with the latest TypeScript module, Are you running into specific problems compiling code or using the module? |
Yes, my IntelliSense is working weirdly. Not completely broken, but also not as flawless as it does with modules that export types according to the spec (via I do believe it's needed, or, at least, it's how TypeScript specifies it to be. I know that it can infer it automatically if it's located at the root of the module and named |
@alexander-fenster @bcoe this isn't a problem in my experiments, but maybe adding this explicitly to the |
I seem to be having a similar issue, might be because I'm new to typescript but I haven't been able to successfully overload or override types related to where Cloud Tasks intersect with App Engine requests. Is there a type definition specifically for App Engine I can add to my dev-dependencies to suppress these? Otherwise I'll just keep trying to make my own interfaces with the same name and see if that works. |
@Kezzsim could I bother you to open an issue with the source you're running, and the error you're getting. To me it looks like types are being found, but that there's an issue with the expected parameters. closing in favor of googleapis/gapic-generator-typescript#804 |
Is your feature request related to a problem? Please describe.
I've created TypeScript types for this repo with a PR currently available on DefinitelyTyped.
Let me know if you'd prefer it within the repo and I can create a PR to add the types.
The text was updated successfully, but these errors were encountered: