Support ABI files with wasm (.contract output) (#2841)

* Support ABI files with wasm (.contract output)

* AbiBase exports

* Additional default exports

* Remove any

* Fix build
This commit is contained in:
Jaco Greeff
2020-11-12 12:23:28 +01:00
committed by GitHub
parent 999e69b031
commit 98a2ef9d72
43 changed files with 228 additions and 68 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import { Metadata } from '@polkadot/metadata';
import { Text } from '@polkadot/types';
import { assertReturn } from '@polkadot/util';
import Init from './Init';
import { Init } from './Init';
interface PkgJson {
name: string;
@@ -30,7 +30,7 @@ function assertResult<T> (value: T | undefined): T {
return assertReturn(value, 'Api needs to be initialized before using, listen on \'ready\'');
}
export default abstract class Getters<ApiType extends ApiTypes> extends Init<ApiType> {
export abstract class Getters<ApiType extends ApiTypes> extends Init<ApiType> {
/**
* @description Contains the parameter types (constants) of all modules.
*