mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-20 00:01:05 +00:00
Use import type (#406)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { ColorGen } from './types';
|
||||
import type { ColorGen } from './types';
|
||||
|
||||
import newSeeder from './seeder';
|
||||
import newColors from './colors';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { ColorGen, Seeder } from './types';
|
||||
import type { ColorGen, Seeder } from './types';
|
||||
|
||||
import Color from 'color';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Options } from '../types';
|
||||
import type { Options } from '../types';
|
||||
|
||||
import colors from './colors';
|
||||
import newContainer from './container';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Seeder } from './types';
|
||||
import type { Seeder } from './types';
|
||||
|
||||
import newSeeder from './seeder';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Seeder } from './types';
|
||||
import type { Seeder } from './types';
|
||||
|
||||
import { isU8a, stringToU8a } from '@polkadot/util';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Seeder } from '../types';
|
||||
import type { Seeder } from '../types';
|
||||
|
||||
import newCircle from '../svg/circle';
|
||||
import { SHAPE_COUNT } from '../defaults';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Seeder } from '../types';
|
||||
import type { Seeder } from '../types';
|
||||
|
||||
import newRect from '../svg/rect';
|
||||
import { SHAPE_COUNT } from '../defaults';
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
// https://github.com/paritytech/oo7/blob/251ba2b7c45503b68eab4320c270b5afa9bccb60/packages/polkadot-identicon/src/index.jsx
|
||||
|
||||
import { Circle, Options } from './types';
|
||||
import type { Circle, Options } from './types';
|
||||
|
||||
import { blake2AsU8a, decodeAddress } from '@polkadot/util-crypto';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user