Commit f985873
authored
Add explicit 'any' to evaluate() declaration
Without this, typescript will complain when used with '--noImplicitAny' option:
```
> tsc
node_modules/jsonpath-plus/src/jsonpath.d.ts:179:5 - error TS7010: 'evaluate', which lacks return-type annotation, implicitly has an 'any' return type.
179 evaluate(
~~~~~~~~
node_modules/jsonpath-plus/src/jsonpath.d.ts:185:5 - error TS7010: 'evaluate', which lacks return-type annotation, implicitly has an 'any' return type.
185 evaluate(options: {
~~~~~~~~
Found 2 errors.
```1 parent 2987402 commit f985873
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments