Browse Source

ts: add docs field to IdlAccoutDef and IdlTypeDef types (#1915)

Krešimir Klas 3 years ago
parent
commit
d3e9b5f05d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ts/src/idl.ts

+ 2 - 0
ts/src/idl.ts

@@ -82,11 +82,13 @@ export type IdlField = {
 
 export type IdlTypeDef = {
   name: string;
+  docs?: string[];
   type: IdlTypeDefTy;
 };
 
 export type IdlAccountDef = {
   name: string;
+  docs?: string[];
   type: IdlTypeDefTyStruct;
 };