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

TypeScript definitions for TS-enabled functions #483

Closed
s-KaiNet opened this Issue Sep 6, 2017 · 13 comments

Comments

Projects
None yet
10 participants
@s-KaiNet
Copy link

s-KaiNet commented Sep 6, 2017

Hey guys,
do you have plan to publish official definitions for TypeScript based functions?
I found community-driven here, but it's a bit outdated and for sure it will be great to have official one.
Thanks!

@ahmelsayed

This comment has been minimized.

Copy link

ahmelsayed commented Sep 6, 2017

@christopheranderson is hardly a community member 😄 , but I do agree Chris should move it under /Azure org.

@s-KaiNet

This comment has been minimized.

Copy link
Author

s-KaiNet commented Sep 6, 2017

Ah.... I haven't noticed owner's profile 😃

I've found some gaps in published definitions comparing to the documentation - params missing for Request, isRaw for Response. That's only something that I've found.
Will be cool if you move it and update missing pieces ☺️

@graham-sportsmgmt

This comment has been minimized.

Copy link

graham-sportsmgmt commented Oct 20, 2017

As we move into the next phase of migrating our node.js Web App to Functions it's becoming clear that we'll need TypeScript to handle business logic safely. Would love to see more docs on this.

Thanks!

@suprak

This comment has been minimized.

Copy link

suprak commented Mar 23, 2018

+1

I see Azure Functions now support TypeScript as a "preview" language, but where are the TypeScript definitions?

@zabirauf

This comment has been minimized.

Copy link

zabirauf commented Apr 27, 2018

+1 As the TypeScript is in preview can we get the type definitions published in DefinitelyTyped repo so people can still use JS in prod by transpiling typescript to JS

@spontoreau

This comment has been minimized.

Copy link

spontoreau commented Sep 14, 2018

Any news?

Just publish a definition might be ok for everybody.

@jryu01

This comment has been minimized.

Copy link

jryu01 commented Nov 29, 2018

Any updates?

@janaagaard75

This comment has been minimized.

Copy link

janaagaard75 commented Dec 11, 2018

I've created a pull request for DefinitelyTyped with a first draft of the type definitions based on the ones that @s-KaiNet mentioned. I am hoping that putting the definitions on DefinitelyTyped will help kickstart a community effort around updating them.

The name azure-functions is unfortunately already taken by another npm project, so we have to find another name. Right now the name is azure-functions-types, but if you can come up with a better name, then please speak up. 📣

@fabiocav

This comment has been minimized.

Copy link
Member

fabiocav commented Dec 11, 2018

adding @mhoeger

Marie has been working on the type definitions and they will be up on NPM under @azure/functions soon.

The types definitions are maintained in the Node worker repository here

@janaagaard75

This comment has been minimized.

Copy link

janaagaard75 commented Dec 11, 2018

Great to hear that we are getting official support. 👍 I will remove my pull request to DefinitelyTyped.

@janaagaard75 janaagaard75 referenced this issue Dec 11, 2018

Closed

Add types for azure-functions #31152

7 of 16 tasks complete

@mhoeger mhoeger self-assigned this Dec 11, 2018

@mhoeger

This comment has been minimized.

Copy link

mhoeger commented Dec 11, 2018

@janaagaard75 thanks for the community submissions! The initial release will be coming soon, everyone please feel free to open issues on nodejs-worker for suggestions on the typings we expose

@mhoeger

This comment has been minimized.

Copy link

mhoeger commented Jan 11, 2019

Please check out our published typings :)
https://www.npmjs.com/package/@azure/functions

Thanks for your patience all!

@mhoeger mhoeger closed this Jan 11, 2019

@spontoreau

This comment has been minimized.

Copy link

spontoreau commented Jan 11, 2019

@mhoeger thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.