Pārlūkot izejas kodu

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

Krešimir Klas 3 gadi atpakaļ
vecāks
revīzija
580167a1b0
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      ts/src/idl.ts

+ 3 - 0
ts/src/idl.ts

@@ -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;