File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,11 @@ class Field {
8686 ? fieldObj . schema . $uid
8787 : fieldObj . uid ;
8888 const path = schemaPath . split ( "." ) ;
89- let value : Indexable = new Map ( Object . entries ( event . data ) ) ;
89+ let value = event . data
9090
9191 path . forEach ( ( key ) => {
9292 if ( value ) {
93- value = value . get ( key ) ;
93+ value = Object . create ( value [ key ] as GenericObjectType )
9494 }
9595 } ) ;
9696
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ class FieldModifierLocationField {
9090 ? fieldObj . schema . $uid
9191 : fieldObj . uid ;
9292 const path = schemaPath . split ( "." ) ;
93- let value : Indexable = new Map ( Object . entries ( event . data ) ) ;
93+ let value = event . data
9494
9595 path . forEach ( ( key ) => {
9696 if ( value ) {
97- value = value . get ( key ) ;
97+ value = Object . create ( value [ key ] as GenericObjectType ) ;
9898 }
9999 } ) ;
100100
Original file line number Diff line number Diff line change @@ -234,7 +234,3 @@ export enum Region {
234234 AZURE_EU = "AZURE_EU" ,
235235 GCP_NA = "GCP_NA" ,
236236}
237-
238- export declare interface Indexable {
239- [ key : string ] : any ;
240- }
You can’t perform that action at this time.
0 commit comments