diff --git a/src/Types.ts b/src/Types.ts index 336ac5cc..3c502b02 100644 --- a/src/Types.ts +++ b/src/Types.ts @@ -17,4 +17,4 @@ export enum LinkHoverEventTypes { LEAVE = 'linkleave' } -export type FontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; +export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 7f19a502..69d345bc 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -11,7 +11,7 @@ declare module 'xterm' { /** * A string representing text font weight. */ - export type FontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; + export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; /** * An object containing start up options for the terminal. @@ -457,7 +457,7 @@ declare module 'xterm' { * @param key The option key. * @param value The option value. */ - setOption(key: 'fontWeight' | 'fontWeightBold', value: null | 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'): void; + setOption(key: 'fontWeight' | 'fontWeightBold', value: null | 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'): void; /** * Sets an option on the terminal. * @param key The option key.