Skip to content

Commit

Permalink
fix(api): Exporting all interfaces and API client types on `@cloudcom…
Browse files Browse the repository at this point in the history
…merce/api/types`
  • Loading branch information
leomp12 committed Mar 27, 2024
1 parent b69d009 commit c376a03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "lib/api.d.ts",
"exports": {
".": "./lib/api.js",
"./types": "./types.d.ts"
"./types": "./types.ts"
},
"files": [
"/lib",
Expand Down
8 changes: 7 additions & 1 deletion packages/api/types.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
/* eslint-disable */
export * from './types.d';
export type * from './types.d';
export type {
ApiError,
ApiConfig,
ApiEndpoint,
ApiErrorBody,
} from './lib/api.d';

0 comments on commit c376a03

Please sign in to comment.