Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 6, 2021
1 parent 930ae23 commit 296c44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/number/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export const isNaN = reactify(global.isNaN)
/*@__PURE__*/
export const isFinite = reactify(global.isFinite)

export function inc(a: Ref<number>, v: number) { a.value += v }
export function dec(a: Ref<number>, v: number) { a.value -= v }
export function inc(a: Ref<number>, v = 1) { a.value += v }
export function dec(a: Ref<number>, v = 1) { a.value -= v }

0 comments on commit 296c44e

Please sign in to comment.