Summary
Guarantee that consumers of the npm package get full TypeScript IntelliSense, and auto-generate a hosted API reference from JSDoc/TSDoc comments.
Motivation
Great types are the cheapest form of documentation. A hosted API reference also serves as the authoritative source for prop tables in the docs site.
Acceptance Criteria
Summary
Guarantee that consumers of the npm package get full TypeScript IntelliSense, and auto-generate a hosted API reference from JSDoc/TSDoc comments.
Motivation
Great types are the cheapest form of documentation. A hosted API reference also serves as the authoritative source for prop tables in the docs site.
Acceptance Criteria
index.d.tsbundle (viavite-plugin-dtsortsc --emitDeclarationOnly)ChatWidget, props, hooks, types) have TSDoc commentspnpm docs:apiruns TypeDoc and outputs HTML todist/api