cleanup types
This commit is contained in:
@@ -2,7 +2,11 @@
|
|||||||
* Copyright (c) 2018 The xterm.js authors. All rights reserved.
|
* Copyright (c) 2018 The xterm.js authors. All rights reserved.
|
||||||
* @license MIT
|
* @license MIT
|
||||||
*/
|
*/
|
||||||
import { TypedArray } from './Types';
|
|
||||||
|
export type TypedArray = Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray
|
||||||
|
| Int8Array | Int16Array | Int32Array
|
||||||
|
| Float32Array | Float64Array;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* polyfill for TypedArray.fill
|
* polyfill for TypedArray.fill
|
||||||
|
|||||||
@@ -35,7 +35,3 @@ export interface ICircularList<T> extends IEventEmitter {
|
|||||||
trimStart(count: number): void;
|
trimStart(count: number): void;
|
||||||
shiftElements(start: number, count: number, offset: number): void;
|
shiftElements(start: number, count: number, offset: number): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TypedArray = Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray
|
|
||||||
| Int8Array | Int16Array | Int32Array
|
|
||||||
| Float32Array | Float64Array;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user