Skip to content

Commit

Permalink
fix(noop): tweak types
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Nov 17, 2018
1 parent e050f3b commit 0af4355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noop.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* 无操作函数。
*/
export default function noop(): void {}
export default function noop(...args: any[]): any {}

0 comments on commit 0af4355

Please sign in to comment.