When i try to compile provided code i get following error.
transactions.ts(158,24): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(174,27): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(246,18): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'. transactions.ts(333,25): error TS2339: Property 'startsWith' does not exist on type 'string'.
When i try to compile provided code i get following error.
transactions.ts(158,24): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(174,27): error TS2339: Property 'find' does not exist on type 'UnspentTxOut[]'. transactions.ts(246,18): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'. transactions.ts(333,25): error TS2339: Property 'startsWith' does not exist on type 'string'.