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
Type 'NodeCanvasRenderingContext2D | RenderingContext | null' is not assignable to type 'CanvasRenderingContext2D | NodeCanvasRenderingContext2D | null'.
π Expected behavior
No error
The text was updated successfully, but these errors were encountered:
Bug Report
Strange behavior of function overloading and union type
π Search Terms
function overloading union type
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
No error
The text was updated successfully, but these errors were encountered: