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
The TypeScript compiler requires that these methods conform to the API
signature even though they are considered "virtual" in a classical
object-oriented programming sense. Because the TypeScript compiler
considers returning nothing a violation ("A function whose declared type
is neither 'undefined', 'void', nor 'any' must return a value.") but is
satisfied by throwing an error, throw an error to indicate the virtual
status of these methods.
0 commit comments