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 '(point: Point3D) => void' is not assignable to type '(point: Point2D) => void'.
Types of parameters 'point' and 'point' are incompatible.
Property 'z' is missing in type 'Point2D' but required in type 'Point3D'.(2322)
input.tsx(8, 3): 'z' is declared here.
https://jkchao.github.io/typescript-book-chinese/typings/typeCompatibility.html#%E5%87%BD%E6%95%B0%E5%8F%82%E6%95%B0%E7%B1%BB%E5%9E%8B
划红线这段放ts里报错了
The text was updated successfully, but these errors were encountered: