Implemented TypeScript def for durandal/viewEngine