Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skuruppu committed Nov 14, 2023
1 parent c39661d commit d0c7ff7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ export class PGOid extends WrappedNumber {
}
}


/**
* @typedef JSONOptions
* @property {boolean} [wrapNumbers=false] Indicates if the numbers should be
Expand Down Expand Up @@ -770,8 +769,7 @@ function createTypeObject(
} else if (friendlyType.type === 'jsonb') {
type.typeAnnotation = spannerClient.spanner.v1.TypeAnnotationCode.PG_JSONB;
} else if (friendlyType.type === 'pgOid') {
type.typeAnnotation =
spannerClient.spanner.v1.TypeAnnotationCode.PG_OID;
type.typeAnnotation = spannerClient.spanner.v1.TypeAnnotationCode.PG_OID;
}
return type;
}
Expand Down
2 changes: 1 addition & 1 deletion system-test/spanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4716,7 +4716,7 @@ describe('Spanner', () => {
},
types: {
v: 'pgOid',
}
},
};
oidQuery(done, PG_DATABASE, query, '1234');
});
Expand Down
1 change: 0 additions & 1 deletion test/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ describe('codec', () => {
});
});


describe('Numeric', () => {
it('should store value as a string', () => {
const value = '8.01911';
Expand Down

0 comments on commit d0c7ff7

Please sign in to comment.