-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[event-hubs] add downleveled types #8654
Conversation
"types/latest/", | ||
"types/3.1/", |
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.
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.
Hmm, we should log an issue to add those, and maybe also see what impact that has on our docs. I'm betting that TypeDoc either doesn't need it or doesn't use it. I see some other packages like keyvault also only include the bundled types and not the metadata.
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.
Oh interesting, this seems to be used to by api-extractor so that when it's parsing a package and needs to look at a dependency's types, it can know what dialect of tsdoc was used in the dependency:
microsoft/tsdoc#7
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.
Created #8662 to track.
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.
Nice, thanks for logging.
@@ -35,6 +35,6 @@ | |||
"resolveJsonModule": true | |||
}, | |||
"compileOnSave": true, | |||
"exclude": ["node_modules", "typings/**", "./samples/**/*.ts"], | |||
"exclude": ["node_modules", "types/**", "./samples/**/*.ts"], |
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.
There must be another tsconfig.json
file under samples folder which exclude
s typings
.
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.
Good catch, updated!
Part of #8275
Also updates the package version to 5.2.0 since the
sendBatch
operation had an additive API change.