Skip to content

Commit

Permalink
Fix bad interface and incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
ecooper committed Oct 9, 2024
1 parent 884abfa commit ade23d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/integration/query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ describe("query", () => {

const httpClient = getDefaultHTTPClient(getDefaultHTTPClientOptions());
const badHTTPClient = {
async request(req: HTTPRequest) {
const badRequest: HTTPRequest = {
async request<T>(req: HTTPRequest<T>) {
const badRequest: HTTPRequest<T> = {
...req,
client_timeout_ms: 1,
};
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { QueryFailure } from "fauna";
import {
ChangeFeedClientConfiguration,
ClientConfiguration,
Expand Down Expand Up @@ -37,6 +36,7 @@ import {
StreamToken,
} from "./values";
import {
QueryFailure,
ChangeFeedRequest,
ChangeFeedSuccess,
EncodedObject,
Expand Down

0 comments on commit ade23d2

Please sign in to comment.