Skip to content

Commit fe26a0a

Browse files
committed
Add return types on new private functions
1 parent 63dd2b0 commit fe26a0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Terminal.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,19 +2284,19 @@ export class Terminal extends EventEmitter implements ITerminal, IInputHandlingT
22842284
return matchColorCache[hash] = li;
22852285
}
22862286

2287-
private visualBell() {
2287+
private visualBell(): boolean {
22882288
var styles = [].concat.apply([], [this.options.bellStyle]);
22892289

22902290
return styles.indexOf('visual') > -1 || styles.indexOf('both') > -1
22912291
}
22922292

2293-
private soundBell() {
2293+
private soundBell(): boolean {
22942294
var styles = [].concat.apply([], [this.options.bellStyle]);
22952295

22962296
return styles.indexOf('sound') > -1 || styles.indexOf('both') > -1
22972297
}
22982298

2299-
private preloadBellSound() {
2299+
private preloadBellSound(): void {
23002300
if (this.soundBell()) {
23012301
this.bellAudioElement = document.createElement('audio');
23022302
this.bellAudioElement.setAttribute('preload', 'auto');

0 commit comments

Comments
 (0)