mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-24 21:45:43 +00:00
Use import type (#406)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
export const CRYPTOS: Option[] = [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
export const ENDPOINTS: Option[] = [{
|
||||
info: 'local',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
import { CRYPTOS, CRYPTOS_ETH } from './crypto';
|
||||
import { ENDPOINTS, ENDPOINT_DEFAULT } from './endpoints';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
export const LEDGER_CONN_DEFAULT = 'none';
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
import { available } from '@polkadot/networks';
|
||||
|
||||
export const PREFIX_DEFAULT = -1;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Option } from '../types';
|
||||
import type { Option } from '../types';
|
||||
|
||||
import { isPolkadot } from './type';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user