microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
archive/docusaurus-website

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

packages/http/generated-defs/TypeSpec.Http.ts-test.ts

5lines · modecode

1/** An error here would mean that the decorator is not exported or doesn't have the right name. */
2import { $decorators } from "@typespec/http";
3import type { TypeSpecHttpDecorators } from "./TypeSpec.Http.js";
4/** An error here would mean that the exported decorator is not using the same signature. Make sure to have export const $decName: DecNameDecorator = (...) => ... */
5const _: TypeSpecHttpDecorators = $decorators["TypeSpec.Http"];
6