'hit' method of Position class is missing return-type annotation
DanStevens opened this issue · 2 comments
DanStevens commented
The hit
method of the Position
class is missing a return-type annotation, which results in the following error when compiling with Typescript:
node_modules/php-reflection/index.d.ts:87:9 - error TS7010: 'hit', which lacks return-type annotation, implicitly has an 'any' return type.
Looking at the implementation of the hit
method, the return type should be boolean
.
ichiriac commented
should be fixed in version 2.3.1