1
2
3
4
5
6
7
| {
| "version": 3,
| "sources": ["../../src/operationOptionHelpers.ts"],
| "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions, RequestParameters } from \"./common.js\";\n\nimport {\n operationOptionsToRequestParameters as tspOperationOptionsToRequestParameters,\n type OperationOptions as TspOperationOptions,\n} from \"@typespec/ts-http-runtime\";\n\n/**\n * Helper function to convert OperationOptions to RequestParameters\n * @param options - the options that are used by Modular layer to send the request\n * @returns the result of the conversion in RequestParameters of RLC layer\n */\nexport function operationOptionsToRequestParameters(options: OperationOptions): RequestParameters {\n return tspOperationOptionsToRequestParameters(\n options as TspOperationOptions,\n ) as RequestParameters;\n}\n"],
| "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,6BAGO;AAOA,SAAS,oCAAoC,SAA8C;AAChG,aAAO,uBAAAA;AAAA,IACL;AAAA,EACF;AACF;",
| "names": ["tspOperationOptionsToRequestParameters"]
| }
|
|