Skip to content

Commit 7c3aeac

Browse files
committed
fix: Use "@ts-expect-error" instead of "@ts-ignore",
1 parent 1cb7b02 commit 7c3aeac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/core/src/logger.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class ElizaLogger implements IElizaLogger {
180180
}
181181
}
182182

183-
// @ts-ignore - custom implementation
183+
// @ts-expect-error - custom implementation
184184
log(...strings) {
185185
this.#logWithStyle(strings, {
186186
fg: "white",
@@ -190,7 +190,7 @@ class ElizaLogger implements IElizaLogger {
190190
});
191191
}
192192

193-
// @ts-ignore - custom implementation
193+
// @ts-expect-error - custom implementation
194194
warn(...strings) {
195195
this.#logWithStyle(strings, {
196196
fg: "yellow",
@@ -200,7 +200,7 @@ class ElizaLogger implements IElizaLogger {
200200
});
201201
}
202202

203-
// @ts-ignore - custom implementation
203+
// @ts-expect-error - custom implementation
204204
error(...strings) {
205205
this.#logWithStyle(strings, {
206206
fg: "red",
@@ -210,7 +210,7 @@ class ElizaLogger implements IElizaLogger {
210210
});
211211
}
212212

213-
// @ts-ignore - custom implementation
213+
// @ts-expect-error - custom implementation
214214
info(...strings) {
215215
this.#logWithStyle(strings, {
216216
fg: "blue",
@@ -220,7 +220,7 @@ class ElizaLogger implements IElizaLogger {
220220
});
221221
}
222222

223-
// @ts-ignore - custom implementation
223+
// @ts-expect-error - custom implementation
224224
debug(...strings) {
225225
if (!this.verbose) return;
226226
this.#logWithStyle(strings, {

0 commit comments

Comments
 (0)