Skip to content

Commit c0b1254

Browse files
author
tadelesh
committed
format and lint
1 parent 483ca99 commit c0b1254

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

packages/typespec-go/src/tcgcadapter/clients.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
/* eslint-disable @typescript-eslint/no-deprecated -- uses TCGC APIs marked deprecated (correspondingMethodParams). */
7+
68
import * as tcgc from "@azure-tools/typespec-client-generator-core";
79
import { ModelProperty, NoTarget } from "@typespec/compiler";
810
import * as http from "@typespec/http";

packages/typespec-go/src/tcgcadapter/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
/* eslint-disable @typescript-eslint/no-deprecated -- uses TCGC APIs marked deprecated (serializedName) as a documented fallback when serializationOptions is empty. */
7+
68
import * as tcgc from "@azure-tools/typespec-client-generator-core";
79
import * as tsp from "@typespec/compiler";
810
import * as http from "@typespec/http";

packages/typespec-go/test/tsp/PageableLROs/main.tsp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ namespace PageableLROs;
1010
op listPrivateEndPoints is ArmResourceActionAsyncBase<
1111
SomeResource,
1212
void,
13-
14-
| ArmResponse<SomeResourceListResult>
15-
| ArmAcceptedLroResponse<
16-
"Accepted. The header contains 'Azure-AsyncOperation' header which can be used to monitor the progress of the operation.",
17-
ArmLroLocationHeader<FinalResult = SomeResourceListResult>
18-
>,
13+
| ArmResponse<SomeResourceListResult>
14+
| ArmAcceptedLroResponse<
15+
"Accepted. The header contains 'Azure-AsyncOperation' header which can be used to monitor the progress of the operation.",
16+
ArmLroLocationHeader<FinalResult = SomeResourceListResult>
17+
>,
1918
BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters<SomeResource>
2019
>;
2120

0 commit comments

Comments
 (0)