We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb976f commit 4dadfb3Copy full SHA for 4dadfb3
examples/mock.ts
@@ -2,7 +2,9 @@ import { consola } from "./utils";
2
3
function mockFn(type) {
4
if (type === "info") {
5
- return () => this.log("INFO INFO INFO");
+ return function () {
6
+ this.log("INFO INFO INFO");
7
+ };
8
}
9
10
0 commit comments