No. TypeScript Interfaces are not something available at runtime, that is they are completely absent in the generated JavaScript.
Perhaps you meant to use class:
class Test{
imp(){return 123}
}
No. TypeScript Interfaces are not something available at runtime, that is they are completely absent in the generated JavaScript.
Perhaps you meant to use class:
class Test{
imp(){return 123}
}