Use FontWeight as return type

This commit is contained in:
IllusionMH
2020-09-04 23:35:38 +03:00
parent f0e3159ece
commit b918f0d34a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -948,7 +948,7 @@ declare module 'xterm' {
* Retrieves an option's value from the terminal.
* @param key The option key.
*/
getOption(key: 'fontWeight' | 'fontWeightBold'): string | number;
getOption(key: 'fontWeight' | 'fontWeightBold'): FontWeight;
/**
* Retrieves an option's value from the terminal.
* @param key The option key.