Fix some typescript compilations issues

pull/10/head
Chocobozzz 2016-05-13 14:42:14 +02:00
parent 230809efa1
commit f03996dad6
4 changed files with 2 additions and 16 deletions

1
client/.gitignore vendored
View File

@ -1,5 +1,4 @@
typings
!typings/typings.d.ts
angular/**/*.js
angular/**/*.map
angular/**/*.css

View File

@ -22,7 +22,7 @@ export class VideosWatchComponent implements OnInit, CanDeactivate {
numPeers: number;
loading: boolean = false;
private _interval: number;
private _interval: NodeJS.Timer;
private client: any;
constructor(

View File

@ -1,13 +0,0 @@
/**
* Declares the 'commonjs' format module object that identifies the "module id" for the current module.
* Set a component's `moduleId` metadata property to `module.id` for module-relative urls
* when the generated module format is 'commonjs'.
*/
declare var module: {id: string};
/**
* Declares the 'system' format string that identifies the "module id" for the current module.
* Set a component's `moduleId` metadata property to `__moduleName` for module-relative urls
* when the generated module format is 'system'.
*/
declare var __moduleName: string;

View File

@ -3,5 +3,5 @@
read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
rm -rf node_modules client/node_modules client/typings/{browser,main}*
rm -rf node_modules client/node_modules client/typings
fi