ts: add metadata field to Idl type (#1422)

This commit is contained in:
Krešimir Klas 2022-02-09 22:51:39 +01:00 committed by GitHub
parent debd79d18d
commit 580167a1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -12,8 +12,11 @@ export type Idl = {
events?: IdlEvent[];
errors?: IdlErrorCode[];
constants?: IdlConstant[];
metadata?: IdlMetadata;
};
export type IdlMetadata = any;
export type IdlConstant = {
name: string;
type: IdlType;