Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 70d9c00

Browse files
committed
fix: fix type error for xconsole-service
1 parent ee81ef0 commit 70d9c00

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { ApiType as IApiType, IOptions } from './types';
1+
export type { ApiType, IOptions as ServiceOptions } from './types';
22

33
export * from './hooks/useService';
44
export { default as useService } from './hooks/useService';
55
export { default as createService, request as defaultAxiosRequest } from './service';
66
export { setGetRegionIdFn } from './utils/index';
77
export { default as globalConfig } from './configuration/config';
8-
9-
export type ApiType = IApiType;
10-
export type ServiceOption = IOptions;

packages/xconsole/xconsole.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"2.3.30"}
1+
{"version":"2.3.31"}

0 commit comments

Comments
 (0)