Split into types-augment (#4350)

* Aplit into types-augment

* Adjust

* Adjust, fix typegen run

* Adjust

* Rebuild

* Adjust

* Adjust

* CC
This commit is contained in:
Jaco
2021-12-18 17:31:18 +02:00
committed by GitHub
parent 2b2bad6725
commit fcee83d803
71 changed files with 449 additions and 160 deletions
@@ -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));
+1
View File
@@ -8,6 +8,7 @@
},
"exclude": [
"**/*.data.ts",
"**/*.manual.ts",
"**/*.spec.ts"
],
"references": []
+2
View File
@@ -10,10 +10,12 @@
},
"include": [
"**/*.data.ts",
"**/*.manual.ts",
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-augment" },
{ "path": "../types-codec" },
{ "path": "../types-support" }
]