Browse Source

docs: set type of value back to T in indexOf

pull/3430/head
Arman Ozak 6 years ago
parent
commit
b3c052be54
  1. 2
      docs/en/UI/Common/Utils/Linked-List.md

2
docs/en/UI/Common/Utils/Linked-List.md

@ -1142,7 +1142,7 @@ found.next.value === "c"
#### indexOf(value: any, compareFn = compare): number
#### indexOf(value: T, compareFn = compare): number
Finds the position of the first node from the list that has the given value:

Loading…
Cancel
Save