Skip to content

Commit

Permalink
Merge pull request #1302 from nikonso/Enforce-option-value-via-types
Browse files Browse the repository at this point in the history
Enforce option value via types
  • Loading branch information
Tyriar committed Feb 28, 2018
2 parents c801734 + c51fa23 commit 131e6ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions typings/xterm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,12 @@ declare module 'xterm' {
* @param value The option value.
*/
setOption(key: 'theme', value: ITheme): void;
/**
* Sets an option on the terminal.
* @param key The option key.
* @param value The option value.
*/
setOption(key: 'cols' | 'rows', value: number): void;
/**
* Sets an option on the terminal.
* @param key The option key.
Expand Down

0 comments on commit 131e6ff

Please sign in to comment.