Fix some typescript compilations issues
This commit is contained in:
parent
230809efa1
commit
f03996dad6
|
@ -1,5 +1,4 @@
|
||||||
typings
|
typings
|
||||||
!typings/typings.d.ts
|
|
||||||
angular/**/*.js
|
angular/**/*.js
|
||||||
angular/**/*.map
|
angular/**/*.map
|
||||||
angular/**/*.css
|
angular/**/*.css
|
||||||
|
|
|
@ -22,7 +22,7 @@ export class VideosWatchComponent implements OnInit, CanDeactivate {
|
||||||
numPeers: number;
|
numPeers: number;
|
||||||
loading: boolean = false;
|
loading: boolean = false;
|
||||||
|
|
||||||
private _interval: number;
|
private _interval: NodeJS.Timer;
|
||||||
private client: any;
|
private client: any;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
|
@ -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;
|
|
|
@ -3,5 +3,5 @@
|
||||||
read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r
|
read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r
|
||||||
|
|
||||||
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
|
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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue