It is not possible to check the runtime of the interface because the type information is not translated into compiled JavaScript code.
You can check a specific property or method and decide what to do.
module MyModule { export interface IMyInterface { name: string; age: number; } export interface IMyInterfaceA extends IMyInterface { isWindowsUser: boolean; } export interface IMyInterfaceB extends IMyInterface { } export function doSomething(myValue: IMyInterface){
source share