refactor: type responses
This commit is contained in:
parent
8ceed7f779
commit
075616b67b
9 changed files with 221 additions and 144 deletions
|
@ -1,3 +1,3 @@
|
|||
import type {ClassDTO} from "dwengo-1-common/src/interfaces/class";
|
||||
|
||||
export type ClassesResponse = { classes: ClassDTO[] | string[] };
|
||||
export interface ClassesResponse { classes: ClassDTO[] | string[] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue