mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 15:43:45 +00:00
sync
This commit is contained in:
@@ -53,6 +53,9 @@ export namespace Log {
|
||||
error(message?: any, extra?: Record<string, any>) {
|
||||
write.err(build(message, extra))
|
||||
},
|
||||
warn(message?: any, extra?: Record<string, any>) {
|
||||
write.err(build(message, extra))
|
||||
},
|
||||
tag(key: string, value: string) {
|
||||
if (tags) tags[key] = value
|
||||
return result
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
export const foo: string = "42"
|
||||
export const bar: number = 123
|
||||
|
||||
export function dummyFunction(): void {
|
||||
console.log("This is a dummy function")
|
||||
}
|
||||
|
||||
export function randomHelper(): boolean {
|
||||
return Math.random() > 0.5
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user