I want to use Angular 2 with TypeScript in my Play project. I use the sbt-typescriptplugin and angular2WebJAR. When Play retrieves the WebJAR, it places it in target/web/public/main/lib/angular2. What I could do in my file app/assets/js/components/test.tsseems to be
import {Component} from 'angular2/core';
but tsc can't solve this, and I don't see any settings to tell where to look.
Is this currently possible? Will creating a project for just TypeScript material simplify?
source
share