Skip to content

Commit

Permalink
Update part9e.md
Browse files Browse the repository at this point in the history
Use new rule `@typescript-eslint/no-empty-object-type` instead of the deprecated `@typescript-eslint/no-empty-interface`
  • Loading branch information
sheikhameen committed Aug 8, 2024
1 parent 6295ffa commit dcb6f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/9/en/part9e.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Before going into this, let us do some preparatory work.
Create an endpoint */api/patients/:id* to the backend that returns all of the patient information for one patient, including the array of patient entries that is still empty for all the patients. For the time being, expand the backend types as follows:

```js
// eslint-disable-next-line @typescript-eslint/no-empty-interface
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface Entry {
}

Expand Down

0 comments on commit dcb6f66

Please sign in to comment.