API optional augmentation (#4355)

* API optional augmentation

* Rebuild

* Rebuild

* Cleanups

* Adjust, no multi-imports

* Adjust

* Adjust

* Dedupe

* Augmented exports

* It builds via references (no circulars)

* Don't output *.manual.{js,cjs}
This commit is contained in:
Jaco
2021-12-19 21:30:34 +02:00
committed by GitHub
parent fe27d8059e
commit 3d4511607f
90 changed files with 282 additions and 322 deletions
@@ -3,6 +3,8 @@
// Simple non-runnable checks to test type definitions in the editor itself
import '@polkadot/api-augment';
import { ApiPromise } from '@polkadot/api';
import { BlueprintPromise, ContractPromise } from '@polkadot/api-contract';
import { createTestPairs, TestKeyringMap } from '@polkadot/keyring/testingPairs';