This is working
interface test{
imp():number;
}
but it is possible to implement a function inside.
interface test{
imp():number{
// do something if it is not overwritten
}
}
This is not working in typescript for me, but there may be some reserved word, for example default or similar, to implement a function inside an interface that is not overwritten if the default work.