Download Latest Version typespec-stable@1.16.0 source code.zip (32.2 MB) Google Add to Preferred Sources
Home / @typespec_tspd@0.77.1
Name Modified Size InfoDownloads / Week
Parent folder
@typespec_tspd@0.77.1 source code.tar.gz 2026-09-09 20.3 MB
@typespec_tspd@0.77.1 source code.zip 2026-09-09 32.2 MB
README.md 2026-09-09 1.8 kB
Totals: 3 Items   52.5 MB 0

Bug Fixes

  • #11813 Document the generated auto decorator accessors, so libraries re-exporting them satisfy api-extractor's ae-undocumented rule. get* and set* accessors carry the description of the decorator they read or write; is* accessors get a generic one, since a decorator description does not describe a boolean check.

``ts /** Check if the@TypeSpec.GraphQL.inputType` decorator was applied on the given target. */ export function isInputType(program: Program, target: Model): boolean { return hasAutoDecorator(program, "TypeSpec.GraphQL.inputType", target); }

/* Mark a model as a GraphQL input type in the emitted schema. / export function setInputType(program: Program, target: Model): void { setAutoDecorator(program, "TypeSpec.GraphQL.inputType", target); } ```

  • #11813 Honor the library's own tspconfig.yaml when generating signatures and reference documentation, so libraries that opt into a compiler feature (such as auto-decorators) no longer report errors during gen-extern-signature and doc.
  • #11561 gen-extern-signature now generates signatures for sub path exports. Each export with a typespec condition is compiled on its own, entities are attributed to the export that first reaches their source file, and the generated files are written under a directory matching the sub path with $decorators imported from that same sub path.

```ts // generated-defs/streams/MyLib.Streams.ts-test.ts import { $decorators } from "my-lib/streams"; import type { MyLibStreamsDecorators } from "./MyLib.Streams.js";

const _decs: MyLibStreamsDecorators = $decorators["MyLib.Streams"]; ```

Source: README.md, updated 2026-09-09