microsoft / microsoft/typespec

Update tspd to support named exports for reference docs

Open
#4,611 1 comment 0 reactions 0 assignees View on GitHub
feature triaged:core tspd
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

https://github.com/microsoft/typespec/pull/4606 added support for named exports of typespec files. However, the `tspd` tool - used for generating decorator typescript types and typespec documentation - currently only works on `package.json#tspMain`. It needs to be updated to work with named exports that contain a `typespec` mapping as well.

### Checklist

- [X] Follow our [Code of Conduct](https://github.com/microsoft/typespec/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [docs](https://typespec.io/docs/).
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.