We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2097e6 commit 6526535Copy full SHA for 6526535
homeworks/eva.pavlenko_Evapavl/11-dependency-injection/src/app/models/vehicle.ts
@@ -6,16 +6,18 @@ export interface Vehicle {
6
type: string;
7
vehicle: string;
8
vin: string;
9
- post: {
10
- slug: string;
11
- protocol: string;
12
- }
13
- cost: {
14
- account: string;
15
- accountName: string;
16
- amount: string;
17
- currencyCode: string;
18
+ post: Post;
+ cost: Cost;
19
}
20
+export interface Cost {
+ account: string;
+ accountName: string;
+ amount: string;
+ currencyCode: string;
+}
21
+export interface Post {
+ slug: string;
22
+ protocol: string;
23
0 commit comments