Property ‘_fields’ is private and only accessible within class ‘Record’

I recieve response from database:

records [
  Record {
    keys: [ 'nodes', 'rels' ],
    length: 2,
    _fields: [ [Array], [Array] ],
    _fieldLookup: { nodes: 0, rels: 1 }
  }
]

And i`m trying to get data from ‘_fields’ array in my typescript app:

result.records[0]._fields[0]

but got an error like: ‘Property ‘_fields’ is private and only accessible within class ‘Record<Entries, Key, FieldLookup>’.’
I have no access to class Record<> because i recieve this data from another backend. In js file i have no any errors and mapping data from this array with forEach() method or map(). Searching this problem desicion, i got advices to change access modifier from private to public, but i have no access to this class. How can i avoid such error in typescript?