@xterm/addon-ligatures 0.11.0-beta.21 → 0.11.0-beta.210

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/src/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { Terminal } from '@xterm/xterm';
7
- import { Font } from 'font-ligatures';
7
+ import { Font } from './fontLigatures/index';
8
8
 
9
9
  import load from './font';
10
10
 
@@ -30,7 +30,7 @@ export function enableLigatures(term: Terminal, fallbackLigatures: string[] = []
30
30
  let currentFontName: string | undefined = undefined;
31
31
  let font: Font | undefined = undefined;
32
32
  let loadingState: LoadingState = LoadingState.UNLOADED;
33
- let loadError: any | undefined = undefined;
33
+ let loadError: unknown = undefined;
34
34
 
35
35
  return term.registerCharacterJoiner((text: string): [number, number][] => {
36
36
  // If the font hasn't been loaded yet, load it and return an empty result