Skip to content

Missing type indexed & result #4158

@Ankush263

Description

@Ankush263

Ethers Version

6.6.0

Search Terms

type

Describe the Problem

Missing type of variable indexed on line 832 & the variable result on the lines 1065, 1066, 1140, 1041 & 1440 - 1454 of file src.ts/abi/fragments.ts
on line 832
indexed = true; gives type error of Type 'true' is not assignable to type 'null'
and in rest the error message is Argument of type 'string' is not assignable to parameter of type 'never'
Possible fix
let indexed: null | boolean = null;
const result: any = [ ];

Code Snippet

let indexed: null | boolean = null;
const result: any = [ ];

Contract ABI

No response

Errors

Type 'true' is not assignable to type 'null'
Argument of type 'string' is not assignable to parameter of type 'never'

Environment

No response

Environment (Other)

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.v6Issues regarding v6

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions