@xterm/addon-ligatures 0.8.0-beta.2 → 0.8.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xterm/addon-ligatures",
3
- "version": "0.8.0-beta.2",
3
+ "version": "0.8.0-beta.21",
4
4
  "description": "Add support for programming ligatures to xterm.js",
5
5
  "author": {
6
6
  "name": "The xterm.js authors",
@@ -3,7 +3,8 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { Terminal } from '@xterm/xterm';
6
+ import type { Terminal } from '@xterm/xterm';
7
+ import type { LigaturesAddon as ILigaturesApi } from '@xterm/addon-ligatures';
7
8
  import { enableLigatures } from '.';
8
9
  import { ILigatureOptions } from './Types';
9
10
 
@@ -12,7 +13,7 @@ export interface ITerminalAddon {
12
13
  dispose(): void;
13
14
  }
14
15
 
15
- export class LigaturesAddon implements ITerminalAddon {
16
+ export class LigaturesAddon implements ITerminalAddon , ILigaturesApi {
16
17
  private readonly _fallbackLigatures: string[];
17
18
 
18
19
  private _terminal: Terminal | undefined;