Description
- Package Name: @azure/openai
- Package Version: 2.0.0-beta.2
- Operating system: Mac OS 14.2.1
- nodejs
- version: 22.9.0
- browser
- name/version: Not Applicable
- typescript
- version: 5.6.3
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://learn.microsoft.com
Describe the bug
All current versions of @azure/openai
published on NPM in the 2.0.0 branch (all alpha- and beta builds) include declaration maps (.d.ts.map
) files. These are intended to be used in packages that also include their source code in the published package, such that consuming code editors can be taken directly to the original source declaration by via the TypeScript language service. However, @azure/openai
2.0.0-beta2 does not include the src
folder that the declaration maps map the sources to.
To Reproduce
Steps to reproduce the behavior:
- Install @azure/openai (or decompress and inspect the .tar archive packed by NPM)
- Observe that declaration maps (
.d.ts.map
files) are shipped, pointing to source that are not published along with the package.
Expected behavior
The package should either not include declaration maps, or include the sources.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.