Make tslint happy

This commit is contained in:
Godzil 2017-12-27 04:57:45 +01:00
parent 537639f2a8
commit 11f6b3feff
3 changed files with 9 additions and 7 deletions

View File

@ -1,14 +1,14 @@
/* tslint:disable:no-bitwise false */
'use strict';
import crypto = require('crypto');
import bigInt = require('big-integer');
import crypto = require('crypto');
import zlib = require('zlib');
/**
* Decodes the data.
*/
export default function(id: number, iv: Buffer|string, data: Buffer|string,
done: (err?: Error, result?: Buffer) => void)
export default function(id: number, iv: Buffer|string, data: Buffer|string,
done: (err?: Error, result?: Buffer) => void)
{
try
{

View File

@ -1,15 +1,16 @@
'use strict';
import childProcess = require('child_process');
import fs = require('fs');
import path = require('path');
import os = require('os');
import path = require('path');
import subtitle from '../subtitle/index';
/**
* Merges the subtitle and video files into a Matroska Multimedia Container.
*/
export default function(config: IConfig, isSubtitled: boolean, rtmpInputPath: string, filePath: string,
streamMode: string, done: (err: Error) => void)
export default function(config: IConfig, isSubtitled: boolean, rtmpInputPath: string, filePath: string,
streamMode: string, done: (err: Error) => void)
{
const subtitlePath = filePath + '.' + (subtitle.formats[config.format] ? config.format : 'ass');
let videoPath = filePath;

View File

@ -1,7 +1,8 @@
'use strict';
import childProcess = require('child_process');
import path = require('path');
import os = require('os');
import path = require('path');
import log = require('../log');
/**