In my Play project, I am interested in incorporating Angular 2 with TypeScript. Utilizing the sbt-typescript
plugin and the angular2
WebJAR, I have encountered a situation where Play places the extracted WebJAR in
target/web/public/main/lib/angular2
. Ideally, I would like to be able to include something similar to the following in my app/assets/js/components/test.ts
file:
import {Component} from 'angular2/core';
Unfortunately, tsc is not able to resolve this, and I am unable to find any setting to specify where it should look.
Is there an existing solution for this issue? Perhaps creating a separate child project exclusively for TypeScript material could streamline the process?