Possible solutions: http://angular.github.io/assert/ Interesting discussion about dynamic type checking is TS: https://typescript.codeplex.com/discussions/401501 A possible implementation of an interface checker in TS: (scroll down to CheckInterface): https://blorkfish.wordpress.com/2012/10/17/typescript-implementing-a-simple-ioc-container-for-service-location/