Fix most errors in Terminal.ts

This commit is contained in:
Daniel Imms
2017-08-05 01:58:42 -07:00
parent db5b908d62
commit 2104dccec5
7 changed files with 2158 additions and 2139 deletions
+5
View File
@@ -12,3 +12,8 @@ export type LinkMatcher = {
};
export type LinkMatcherHandler = (event: MouseEvent, uri: string) => boolean | void;
export type LinkMatcherValidationCallback = (uri: string, element: HTMLElement, callback: (isValid: boolean) => void) => void;
// TODO: Make this type more specific
export type TerminalOptions = {[key: string]: any};
export type CustomKeyEventHandler = (event: KeyboardEvent) => boolean;
export type Charset = {[key: string]: string};