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));
|
||||
@@ -8,6 +8,7 @@
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.data.ts",
|
||||
"**/*.manual.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": []
|
||||
|
||||
@@ -10,10 +10,12 @@
|
||||
},
|
||||
"include": [
|
||||
"**/*.data.ts",
|
||||
"**/*.manual.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types" },
|
||||
{ "path": "../types-augment" },
|
||||
{ "path": "../types-codec" },
|
||||
{ "path": "../types-support" }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user