This is functioning correctly
interface test{
imp():number;
}
However, attempting to implement a function within the interface may pose some challenges.
interface test{
imp():number{
// do something if it is not overwritten
}
}
I am encountering issues with this approach in TypeScript. It is possible that there are reserved words, such as 'default' or similar, which could allow for implementing a function inside an interface without being overwritten if the default behavior is desired.