mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
refactor: financial reports to nestjs
This commit is contained in:
9
packages/server-nest/src/utils/increment.ts
Normal file
9
packages/server-nest/src/utils/increment.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
export const increment = (n: number = 0) => {
|
||||
let counter = n;
|
||||
|
||||
return () => {
|
||||
counter += 1;
|
||||
return counter;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user