Skip to content

Commit 127432d

Browse files
committed
fix: type
1 parent c10a9b0 commit 127432d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export const addCompilationError = (
358358
);
359359
};
360360

361-
export function hash(data: string) {
361+
export function hash(data: string): string {
362362
// Available in Node.js v20.12.0
363363
// faster than `crypto.createHash()` when hashing a smaller amount of data (<= 5MB)
364364
if (crypto.hash) {

0 commit comments

Comments
 (0)