Skip to content

Commit 7fb8337

Browse files
committed
fix(chat): speech to text lint errors
1 parent 66bbc30 commit 7fb8337

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/chat/chat-input.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ export default class IgcChatInputComponent extends LitElement {
117117

118118
private _sttClient?: ISttClient;
119119

120-
@property()
120+
@property({ type: Boolean })
121121
isRecording = false;
122122

123-
@property()
123+
@property({ type: Boolean })
124124
isStopInProgress = false;
125125

126126
onPulseSignal = () => {

src/components/chat/extras/stt-client-backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class BackendSttClient extends BaseSttClient {
114114
language
115115
);
116116
} catch {
117-
//report.error("STT invoke failed:", err); TOTO
117+
//console.error("STT invoke failed:", err); //TODO
118118
this.stop();
119119
}
120120
}

0 commit comments

Comments
 (0)