Split into types-augment (#4350)
* Aplit into types-augment * Adjust * Adjust, fix typegen run * Adjust * Rebuild * Adjust * Adjust * CC
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Copyright 2017-2021 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/types-augment';
|
||||
|
||||
import { TypeRegistry } from '@polkadot/types';
|
||||
|
||||
import { U32 } from '.';
|
||||
|
||||
const registry = new TypeRegistry();
|
||||
|
||||
console.log(new U32(registry).divn(1));
|
||||
Reference in New Issue
Block a user