Skip to content

Commit 366adfe

Browse files
authored
Merge pull request #2862 from hey-api/copilot/fix-typescript-errors-method-name-builder
Export Operation type to fix methodNameBuilder TypeScript errors
2 parents 1a7b35b + 857c464 commit 366adfe

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/loose-baboons-switch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@hey-api/openapi-ts': patch
3+
---
4+
5+
fix(types): export Operation type

packages/openapi-ts/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export type { ExpressionTransformer } from './plugins/@hey-api/transformers/expr
7878
export type { TypeTransformer } from './plugins/@hey-api/transformers/types';
7979
export { definePluginConfig } from './plugins/shared/utils/config';
8080
export { compiler, tsc } from './tsc';
81+
export type { Operation } from './types/client';
8182
export type { UserConfig } from './types/config';
8283
export type { LegacyIR } from './types/types';
8384
export { utils } from './utils/exports';

0 commit comments

Comments
 (0)