Skip to content

Commit

Permalink
Remove implicit coercion to number due to TS not supporting it.
Browse files Browse the repository at this point in the history
For reference on lack of TS support, see: microsoft/TypeScript#2361
  • Loading branch information
elle-j committed May 31, 2024
1 parent 41e97c2 commit cbbdd62
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/realm/src/Counter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,4 @@ export class Counter {
assert.integer(value, "value");
this.obj.setAny(this.columnKey, binding.Int64.numToInt(value));
}

/**
* TODO(lj)
*/
valueOf(): number {
return this.value;
}
}

0 comments on commit cbbdd62

Please sign in to comment.