Skip to content

Commit

Permalink
fix: 🐛 incorrect ts marking for undefined properties
Browse files Browse the repository at this point in the history
  • Loading branch information
SophiaH67 committed Apr 15, 2024
1 parent 8784076 commit c09dd93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/models/CsvOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export type CreateCsvOrder = {
} & (
| {
template: Template | string;
templateId: undefined;
templateId?: undefined;
}
| {
template: undefined;
template?: undefined;
templateId: string;
}
);
Expand Down
4 changes: 2 additions & 2 deletions src/models/Order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export type CreateOrder = {
} & (
| {
template: Template | string;
templateId: undefined;
templateId?: undefined;
}
| {
template: undefined;
template?: undefined;
templateId: string;
}
);
Expand Down

0 comments on commit c09dd93

Please sign in to comment.