Skip to content

Commit 9e12af6

Browse files
committed
fix type exports
1 parent a017415 commit 9e12af6

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

wormhole-connect/src/config/index.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ import {
88
import MAINNET from './mainnet';
99
import TESTNET from './testnet';
1010
import DEVNET from './devnet';
11-
import {
12-
Environment,
13-
InternalConfig,
14-
Route,
15-
WormholeConnectConfig,
16-
TokensConfig,
17-
} from './types';
11+
import type { WormholeConnectConfig } from './types';
12+
import { Environment, InternalConfig, Route, TokensConfig } from './types';
1813
import { mergeCustomTokensConfig, validateDefaults } from './utils';
1914

2015
type Network = 'MAINNET' | 'TESTNET' | 'DEVNET';

wormhole-connect/src/index.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import WormholeConnect from './WormholeConnect';
2-
32
export default WormholeConnect;
3+
44
export * from './theme';
5+
6+
import type { WormholeConnectConfig } from './config/types';
7+
import type { ChainName } from '@wormhole-foundation/wormhole-connect-sdk';
8+
export { WormholeConnectConfig, ChainName };

0 commit comments

Comments
 (0)