You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Angular v14.2.3 project using node v16.14.0, I get the following error TS7010: 'setMatrix', which lacks return-type annotation, implicitly has an 'any' return type.
To solve this, I just manually set the return type of setMatrix() in the index.d.ts to void.
I would like to propose the following changes:
In src/image/utility/setMatrix.js, the function setMatrix() should return the this object (similar to the setChannel() function). Currently it returns nothing, which is inconsistent with other functions.
In src/image/utility/setMatrix.js, add the return type to the setMatrix() function documentation
Adjust the type definition in index.d.ts
The text was updated successfully, but these errors were encountered:
In my Angular v14.2.3 project using node v16.14.0, I get the following
error TS7010: 'setMatrix', which lacks return-type annotation, implicitly has an 'any' return type.
To solve this, I just manually set the return type of
setMatrix()
in theindex.d.ts
tovoid
.I would like to propose the following changes:
src/image/utility/setMatrix.js
, the functionsetMatrix()
should return thethis
object (similar to thesetChannel()
function). Currently it returns nothing, which is inconsistent with other functions.src/image/utility/setMatrix.js
, add the return type to thesetMatrix()
function documentationindex.d.ts
The text was updated successfully, but these errors were encountered: