refactor: improve input field #77
Annotations
10 errors
Tests
@fuels/streams#build: command (/home/runner/actions-runner/_work/fuel-streams-js/fuel-streams-js/packages/fuel-streams) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Tests
Conversion of type 'Evolve<{ txID: string; outputIndex: number; predicateDataLength: BN; predicateLength: BN; type: InputType.Coin; amount: number; assetId: string; owner: string; predicate: string; predicateData: string; predicateGasUsed: number; txPointer: TxPointer; witnessIndex: number; }, { ...; }>' to type 'InputCoin' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<{ txID: string; outputIndex: number; contractID: string; type: InputType.Contract; balanceRoot: string; stateRoot: string; txPointer: TxPointer; contractId: string; }, { type: () => InputType; }>' to type 'InputContract' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<{ predicateDataLength: BN; predicateLength: BN; type: InputType.Message; amount: number; data?: string | undefined; nonce: string; predicate: string; predicateData: string; predicateGasUsed: number; recipient: string; sender: string; witnessIndex: number; }, { ...; }>' to type 'InputMessage' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Function lacks ending return statement and return type does not include 'undefined'.
|
Tests
Conversion of type 'Evolve<RawCoinOutput, { type: () => OutputType; amount: { (value?: BNInput | null | undefined, base?: number | "hex" | undefined, endian?: Endianness | undefined): BN; parseUnits(value: string, units?: number | undefined): BN; }; }>' to type 'OutputCoin' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<RawContractOutput, { type: () => OutputType; }>' to type 'OutputContract' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<RawChangeOutput, { type: () => OutputType; amount: { (value?: BNInput | null | undefined, base?: number | "hex" | undefined, endian?: Endianness | undefined): BN; parseUnits(value: string, units?: number | undefined): BN; }; }>' to type 'OutputChange' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<RawVariableOutput, { type: () => OutputType; amount: { (value?: BNInput | null | undefined, base?: number | "hex" | undefined, endian?: Endianness | undefined): BN; parseUnits(value: string, units?: number | undefined): BN; }; }>' to type 'OutputVariable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Tests
Conversion of type 'Evolve<RawContractCreated, { type: () => OutputType; }>' to type 'OutputContractCreated' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|