Remove option overloads from src

src/ handles more than that specified (and should incase you're not
using TS), this also reduces duplication as the definitions are only
in typings/
This commit is contained in:
Daniel Imms
2017-08-19 10:29:05 -07:00
parent 380f950d4d
commit 34f5b2cb8a
2 changed files with 3 additions and 38 deletions
-23
View File
@@ -18,26 +18,3 @@ export type Charset = {[key: string]: string};
export type CharData = [number, string, number];
export type LineData = CharData[];
export type Option = BooleanOption | StringOption | StringArrayOption | NumberOption | GeometryOption | HandlerOption;
export type BooleanOption =
'cancelEvents' |
'convertEol' |
'cursorBlink' |
'debug' |
'disableStdin' |
'popOnBell' |
'screenKeys' |
'useFlowControl' |
'visualBell';
export type StringOption =
'cursorStyle' |
'termName';
export type StringArrayOption = 'colors';
export type NumberOption =
'cols' |
'rows' |
'tabStopWidth' |
'scrollback';
export type GeometryOption = 'geometry';
export type HandlerOption = 'handler';