mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-28 17:01:02 +02:00
linter: correct the return type for member
This commit corrects return type of the `member` function from the standard library. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit is contained in:
parent
7373f5b606
commit
12bd29d164
@ -118,7 +118,7 @@ func prepareStdlib(g *typeGraph) {
|
||||
|
||||
"makeArray": g.newSimpleFuncType(anyArrayType, "sz", "func"),
|
||||
"count": g.newSimpleFuncType(numberType, "arr", "x"),
|
||||
"member": g.newSimpleFuncType(numberType, "arr", "x"),
|
||||
"member": g.newSimpleFuncType(boolType, "arr", "x"),
|
||||
"find": g.newSimpleFuncType(arrayOfNumber, "value", "arr"),
|
||||
"map": g.newSimpleFuncType(anyArrayType, "func", "arr"),
|
||||
"mapWithIndex": g.newSimpleFuncType(anyArrayType, "func", "arr"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user