I’ve found that type annotation states next:
@param clearColor defines the color for the canvas, use null to not overwrite canvas
But type in the function drawText()
is clearColor: string
.
It should be clearColor: string | null
I’ve found that type annotation states next:
@param clearColor defines the color for the canvas, use null to not overwrite canvas
But type in the function drawText()
is clearColor: string
.
It should be clearColor: string | null
I will fix that!
Thanks and welcome to the community ;D