Skip to content

Commit fe6fa9a

Browse files
feat(blazebuild): println() now takes any type of argument
1 parent fe86401 commit fe6fa9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

blazebuild/src/main/typescript/io/IO.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Blaze from "../core/Blaze";
55
const now = performance.now();
66

77
class IO {
8-
public static println(message: string): void {
8+
public static println(message: unknown): void {
99
console.log(message);
1010
}
1111

blazebuild/src/main/typescript/types/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ declare global {
99
setProperties(properties: Partial<ProjectProperties>): void;
1010
};
1111

12-
function println(message: string): void;
12+
function println(message: unknown): void;
1313
}

0 commit comments

Comments
 (0)