Files
xterm.js/fixtures/typings-test/typing-tests.ts
T
2017-08-19 09:49:37 -07:00

24 lines
420 B
TypeScript

/// <reference path="../../typings/xterm.d.ts" />
import { Terminal } from 'xterm';
namespace constructor_tests {
{
new Terminal();
new Terminal({});
new Terminal({
cols: 1,
rows: 1
});
new Terminal({
'cols': 1,
'cursorBlink': true,
'cursorStyle': 'block',
'disableStdin': false,
'rows': 1,
'scrollback': 10,
'tabStopWidth': 2,
});
}
}