Adjust type generation to correctly cater for ambient definitions (#5034)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Copyright 2017-2022 @polkadot/types-create authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types-codec/types/registry';
|
||||
|
||||
import type { Codec, CodecClass, ICompact, INumber } from '@polkadot/types-codec/types';
|
||||
|
||||
Reference in New Issue
Block a user