Skip to content

Commit

Permalink
Build from edgedb-js 8caacb2ac3321aad8606c2ef465afdb548f93b55
Browse files Browse the repository at this point in the history
  • Loading branch information
edgedb-ci committed May 15, 2023
1 parent 7779725 commit 7160618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _src/codecs/numerics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export class BigIntCodec extends ScalarCodec implements ICodec {
}

export class DecimalStringCodec extends ScalarCodec implements ICodec {
tsType = "string";

encode(buf: WriteBuffer, object: any): void {
if (typeof object !== "string") {
throw new InvalidArgumentError(`a string was expected, got "${object}"`);
Expand Down

0 comments on commit 7160618

Please sign in to comment.