-
Notifications
You must be signed in to change notification settings - Fork 45
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
Bump types package to 2.0.0 #467
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Let's get the real version out
Hi! We maintain a package ( Can you help me understand the impact of upgrading our dependency on |
In terms of the types package, there were no breaking changes between v1 and v2. Since "@azure/functions" is strictly for TypeScript types, I would actually recommend you make it a devDependency in your project, which means the version you choose wouldn't affect your users at all. This would also prevent the package from being included as a "production" dependency when deployed to Azure. |
Part of our API returns a function that uses types from this package in its
signature. And, because of this, the published `.d.ts` file includes
import type { Context, HttpRequest } from '@azure/functions';
My understanding is that that means it should be a non-dev dependency?
|
Haven't had any issues with the beta version since releasing last week, so let's get the real version out!
Related to #398