import type (#782)

This commit is contained in:
Jaco Greeff
2020-12-01 13:24:37 +01:00
committed by GitHub
parent 7f489e1a99
commit af71673c7b
64 changed files with 74 additions and 72 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2020 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BitLength } from './types';
import type { BitLength } from './types';
export const DEFAULT_BITLENGTH: BitLength = 32;
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2020 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BitLength } from './types';
import type { BitLength } from './types';
import BN from 'bn.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2020 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BitLength } from './types';
import type { BitLength } from './types';
import { DEFAULT_BITLENGTH } from './defaults';
import { compactFromU8a } from './fromU8a';