cyjake / ssh-config

📟 SSH config parser and stringifier
MIT License
80 stars 20 forks source link

implicit 'any' return type in type definitions #54

Closed manapointer closed 2 years ago

manapointer commented 2 years ago

tsc emits the following error when compiling a program that imports ssh-config:

node_modules/ssh-config/types/index.d.ts:34:3 - error TS7010: 'find', which lacks return-type annotation, implicitly has an 'any' return type.

34   find(predicate: (value: any, index: number, obj: any[]) => any);
     ~~~~

Found 1 error.
cyjake commented 2 years ago

Thanks for reporting, fixed and released with v4.1.4