Skip to content

Commit

Permalink
export SdkClientAccessor (Azure#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh authored and markcowl committed Jun 26, 2024
1 parent c4a4d08 commit f682cae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .chronus/changes/export_sdkmethod-2024-5-12-13-43-49.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-client-generator-core"
---

export `SdkClientAccessor`
3 changes: 2 additions & 1 deletion packages/typespec-client-generator-core/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ export type SdkServiceMethod<TServiceOperation extends SdkServiceOperation> =
| SdkLroServiceMethod<TServiceOperation>
| SdkLroPagingServiceMethod<TServiceOperation>;

interface SdkClientAccessor<TServiceOperation extends SdkServiceOperation> extends SdkMethodBase {
export interface SdkClientAccessor<TServiceOperation extends SdkServiceOperation>
extends SdkMethodBase {
kind: "clientaccessor";
response: SdkClientType<TServiceOperation>;
}
Expand Down

0 comments on commit f682cae

Please sign in to comment.