Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
micha-f authored and fabien0102 committed Jan 4, 2021
1 parent dd5e4a5 commit 4066205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/import-open-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const getArray = (item: SchemaObject): string => {
return `${resolveValue(item.items)}[]`;
}
} else {
throw new Error("All arrays must have an `items` key define");
throw new Error("All arrays must have an `items` key defined");
}
};

Expand Down Expand Up @@ -879,9 +879,9 @@ import { ${imports.join(", ")} } from "restful-react";
}\`,
'',
);
const encode = encodingTagFactory(encodingFn);
`;
}

Expand Down

0 comments on commit 4066205

Please sign in to comment.