Fill out typings tests

This commit is contained in:
Daniel Imms
2017-08-19 10:17:47 -07:00
parent fd8b62610f
commit 6e2ca0af12
4 changed files with 192 additions and 6 deletions
+2 -1
View File
@@ -147,7 +147,8 @@ if (os.platform() !== 'win32') {
}
describe('typings', () => {
it('should throw no compile errors', () => {
it('should throw no compile errors', function () {
this.timeout(20000);
let result = cp.spawnSync(path.join(__dirname, '..', 'node_modules', '.bin', 'tsc'), {
cwd: path.join(__dirname, '..', 'fixtures', 'typings-test')
});
+1 -1
View File
@@ -414,7 +414,7 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
*/
public getOption(key: StringOption): string;
public getOption(key: BooleanOption): boolean;
public getOption(key: StringArrayOption): number[];
public getOption(key: StringArrayOption): string[];
public getOption(key: NumberOption): number;
public getOption(key: GeometryOption): [number, number];
public getOption(key: HandlerOption): (data: string) => void;