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.
noop
1 parent a41b68a commit 0d3c636Copy full SHA for 0d3c636
util/noop.ts
@@ -1,3 +1,8 @@
1
+/**
2
+ * a simple function that does nothing (no-operation),
3
+ * used to prevent compiler errors for unused code.
4
+ * especially useful if you're experimenting temporarily.
5
+ */
6
export function noop(..._xs: any[]): void {
7
//
8
}
0 commit comments