Skip to content

Commit

Permalink
Use ImportResponse[] as type of ImportError.importResults
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongwartz committed Nov 10, 2023
1 parent d983059 commit e29f743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Typesense/Errors/ImportError.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import TypesenseError from "./TypesenseError";
import { ImportResponseFail } from "../Documents";
import { ImportResponse } from "../Documents";

export default class ImportError extends TypesenseError {
importResults: ImportResponseFail;
importResults: ImportResponse[];
constructor(message, importResults) {
super(message);
this.importResults = importResults;
Expand Down

0 comments on commit e29f743

Please sign in to comment.