mirror of https://github.com/Chocobozzz/PeerTube
Fix some typescript compilations issues
parent
230809efa1
commit
f03996dad6
|
@ -1,5 +1,4 @@
|
|||
typings
|
||||
!typings/typings.d.ts
|
||||
angular/**/*.js
|
||||
angular/**/*.map
|
||||
angular/**/*.css
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue