packages/typespec-azure-resource-manager/generated-defs/Azure.ResourceManager.Legacy.ts-test.ts (3 lines of code) (raw):

// An error in the imports would mean that the decorator is not exported or // doesn't have the right name. import { $decorators } from "@azure-tools/typespec-azure-resource-manager"; import type { AzureResourceManagerLegacyDecorators } from "./Azure.ResourceManager.Legacy.js"; /** * An error here would mean that the exported decorator is not using the same signature. Make sure to have export const $decName: DecNameDecorator = (...) => ... */ const _: AzureResourceManagerLegacyDecorators = $decorators["Azure.ResourceManager.Legacy"];