Move Shared interfaces into a new typings file

This will enable sharing the internal interface with addons (and catching
breakages early)
This commit is contained in:
Daniel Imms
2018-01-19 09:48:33 -08:00
parent 78a63d4860
commit e4abd4dd8a
34 changed files with 307 additions and 317 deletions
+2 -2
View File
@@ -4,10 +4,10 @@
* @license MIT
*/
import { IInputHandler, ITerminal, IInputHandlingTerminal } from './Interfaces';
import { CharData, ITerminal } from '../typings/xterm-internal';
import { IInputHandler, IInputHandlingTerminal } from './Interfaces';
import { C0 } from './EscapeSequences';
import { DEFAULT_CHARSET } from './Charsets';
import { CharData } from './Types';
import { CHAR_DATA_CHAR_INDEX, CHAR_DATA_WIDTH_INDEX } from './Buffer';
import { FLAGS } from './renderer/Types';
import { wcwidth } from './CharWidth';