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
Overriding the start function causes a TypeScript error saying that the return types are different.
Property 'start' in type 'MainMenu' is not assignable to the same property in base type 'ReactUiBase'.
Type '() => void' is not assignable to type '() => Promise<void>'.
Type 'void' is not assignable to type 'Promise<void>'.ts(2416)
The text was updated successfully, but these errors were encountered:
We could remove async from the parent and use Promise APIs instead. It seems like children can change to async, but once it's changed by a parent, it needs to be async all the way down 🤔
Overriding the
start
function causes a TypeScript error saying that the return types are different.The text was updated successfully, but these errors were encountered: