Use import type (#406)

This commit is contained in:
Jaco Greeff
2020-12-01 13:33:48 +01:00
committed by GitHub
parent 57eece03d8
commit 487c638185
43 changed files with 68 additions and 64 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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';
+2 -1
View File
@@ -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 -1
View File
@@ -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';