Align augmentation with an import-first approach (#5032)

This commit is contained in:
Jaco
2022-07-05 13:10:29 +03:00
committed by GitHub
parent 63182552a3
commit d953e101ff
39 changed files with 82 additions and 4 deletions
@@ -1,11 +1,13 @@
// Copyright 2017-2022 @polkadot/types-create authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-codec/types/registry';
import type { Codec, CodecClass, ICompact, INumber } from '@polkadot/types-codec/types';
import type { ILookup, TypeDef } from '@polkadot/types-create/types';
declare module '@polkadot/types-codec/types/registry' {
export interface Registry {
interface Registry {
readonly lookup: ILookup;
createLookupType (lookupId: ICompact<INumber> | number): string;