I am completely new to using typescript and typings. I have a basic understanding of type definition and I am currently attempting to set up an angular 1.5 project with typescript and angular material design.
In my project, I have the angular material type definition located in typings>globals>angular-material. However, I am unsure of which module to import and where to find it. When I try to import it as shown below, I encounter an exception: Module 'material' is not available!
import * as angular from 'angular';
import * as material from 'angular-material';
angular.module('app.services', []);
angular.module('app', ['app.services', 'material']);
The section at the top of index.d.ts in typings>globals>angular-material looks like this:
declare module 'angular-material' {
var _: string;
export = _;
}
declare namespace angular.material { ...}
Any help would be greatly appreciated. Thank you in advance.