Answer the question
In order to leave comments, you need to log in
Where can I find good examples of Angular 1.5 projects using Typescript?
I'm trying to write an angular application using TypeScript, I literally shut up at the very beginning
I started by
doing typings install dt~angular --ambient --save in the project folder
I have a typings.json file and a typings folder at the root
I'm writing an app.ts file
module myappmodule{
'use strict';
var myapp=angular.module('myapp',[])
}
Answer the question
In order to leave comments, you need to log in
Add refs to the header file.
Download the header file here. definitelytyped.org
https://www.typescriptlang.org/docs/handbook/tripl...
/// <reference path="../typings/angular/angular.d.ts"/>
import { angular } from "angular";
var myapp=angular.module('myapp',[])
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question