schoolbox web extension :)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'main' into feat/plugins/change-logo

willow d7e2f7da 8ebdc163

+4 -4
+4 -4
src/utils/logger.ts
··· 1 - function print(method: (...args: any[]) => void, ...args: any[]) { 1 + function print(method: (...args: unknown[]) => void, ...args: unknown[]) { 2 2 if (import.meta.env.MODE === "production") return; 3 3 4 4 const css = "background: #7fd4fa; color: #051d29; border-radius:10px"; ··· 7 7 } 8 8 9 9 export const logger = { 10 - info: (...args: any[]) => print(console.log, ...args), 11 - warn: (...args: any[]) => print(console.warn, ...args), 12 - error: (...args: any[]) => print(console.error, ...args), 10 + info: (...args: unknown[]) => print(console.log, ...args), 11 + warn: (...args: unknown[]) => print(console.warn, ...args), 12 + error: (...args: unknown[]) => print(console.error, ...args), 13 13 };