Skip to content

Commit a6dcf08

Browse files
authored
Merge pull request #104 from matushorvath/patch-1
Add explicit 'any' to evaluate() declaration
2 parents 4da3b85 + f985873 commit a6dcf08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsonpath.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ declare module 'jsonpath-plus' {
181181
json: JSONPathOptions['json'],
182182
callback: JSONPathOptions['callback'],
183183
otherTypeCallback: JSONPathOptions['otherTypeCallback']
184-
)
184+
): any
185185
evaluate(options: {
186186
path: JSONPathOptions['path'],
187187
json: JSONPathOptions['json'],
188188
callback: JSONPathOptions['callback'],
189189
otherTypeCallback: JSONPathOptions['otherTypeCallback']
190-
})
190+
}): any
191191
}
192192

193193
type JSONPathType = JSONPathCallable & JSONPathClass

0 commit comments

Comments
 (0)