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
interfaceSomeInterface{
someMethodWhichShouldBeImplemented: ()=>void;}classSomeClassimplementsSomeInterface{// no implementation of 'someMethodWhichShouldBeImplemented' here}
This code would still compile instead of throwing an error.
The text was updated successfully, but these errors were encountered:
Note that interfaces aren't implemented yet. In order to be able to annotate them already (i.e. when sharing code with TS) the compiler simply doesn't emit errors.
There is a compile error, but it happens inside the body of the function rather than at the call site f(d) which could be confusing if you don't know which caller is the problem.
This code would still compile instead of throwing an error.
The text was updated successfully, but these errors were encountered: