diff --git a/src/lib/ic/print.ts b/src/lib/ic/print.ts index a88d9d8f19..b7338c254a 100644 --- a/src/lib/ic/print.ts +++ b/src/lib/ic/print.ts @@ -5,5 +5,5 @@ import { Void } from '../candid/types/primitive/void'; * @param args the message to print */ export function print(...args: any): Void { - return globalThis._azleIc ? globalThis._azleIc.print() : undefined; + return globalThis._azleIc ? globalThis._azleIc.print(...args) : undefined; }