Skip to content

Commit f3e313e

Browse files
author
Welly Shen
committed
Export types by using * syntax
1 parent f272ffa commit f3e313e

File tree

2 files changed

+2
-48
lines changed

2 files changed

+2
-48
lines changed

web/packages/hovercards/src/index.react.ts

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
11
export type { Placement } from './assign-position';
2-
export type {
3-
VerifiedAccount,
4-
ContactInfo,
5-
Payments,
6-
PaymentLink,
7-
CryptoWallet,
8-
ProfileData,
9-
CreateHovercardOptions,
10-
CreateHovercard,
11-
CreateHovercardSkeletonOptions,
12-
CreateHovercardSkeleton,
13-
CreateHovercardErrorOptions,
14-
CreateHovercardError,
15-
Attach,
16-
Detach,
17-
OnQueryHovercardRef,
18-
OnFetchProfileStart,
19-
OnFetchProfileSuccess,
20-
FetchProfileError,
21-
OnFetchProfileFailure,
22-
OnHovercardShown,
23-
OnHovercardHidden,
24-
Options,
25-
} from './core';
2+
export type * from './core';
263
export type { HovercardsProps } from './hovercards';
274
export type { UseHovercardsReturnValues } from './use-hovercards';
285

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
export type { Placement } from './assign-position';
2-
export type {
3-
VerifiedAccount,
4-
ContactInfo,
5-
Payments,
6-
PaymentLink,
7-
CryptoWallet,
8-
ProfileData,
9-
CreateHovercardOptions,
10-
CreateHovercard,
11-
CreateHovercardSkeletonOptions,
12-
CreateHovercardSkeleton,
13-
CreateHovercardErrorOptions,
14-
CreateHovercardError,
15-
Attach,
16-
Detach,
17-
OnQueryHovercardRef,
18-
OnFetchProfileStart,
19-
OnFetchProfileSuccess,
20-
FetchProfileError,
21-
OnFetchProfileFailure,
22-
OnHovercardShown,
23-
OnHovercardHidden,
24-
Options,
25-
} from './core';
2+
export type * from './core';
263

274
export { default as Hovercards } from './core';

0 commit comments

Comments
 (0)