Move FontWeight type to xterm.d.ts

This commit is contained in:
Daniel Imms
2018-01-25 09:48:12 -08:00
parent 7358890a31
commit d454a50a84
3 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -3,8 +3,8 @@
* @license MIT
*/
import { FontWeight } from 'xterm';
import { isFirefox } from './utils/Browser';
import { FontWeight } from './Types';
declare const Promise: any;
-6
View File
@@ -1,6 +0,0 @@
/**
* Copyright (c) 2018 The xterm.js authors. All rights reserved.
* @license MIT
*/
export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
+1 -1
View File
@@ -26,4 +26,4 @@ export const isLinux = platform.indexOf('Linux') >= 0;
*/
export function contains(arr: any[], el: any): boolean {
return arr.indexOf(el) >= 0;
};
}