Skip to content

Commit 05657a0

Browse files
committed
refactor: re-export type
1 parent 1124209 commit 05657a0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/client/client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ interface EventMap {
2121
renewToken: () => void
2222
}
2323

24-
export type { JikeClientJSON }
25-
2624
const userSelfKey = Symbol('userSelfKey')
2725

2826
export class JikeClient extends EventEmitter<EventMap> {

src/client/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export * from './client'
22
export * from './user'
33
export * from './post'
4+
export type { JikeClientJSON } from './types'
45
export * as limit from './utils/limit'
56
export { RequestFailureError } from './errors/RequestFailureError'
67
export { AuthorizationError } from './errors/AuthorizationError'

0 commit comments

Comments
 (0)