feat(overload): add readme instruction

This commit is contained in:
thomas
2023-01-20 10:30:37 +01:00
parent fa53d48b09
commit b4b0203ce2
3 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
import { createVehicle } from './teacher.utils';
import { createVehicle } from './vehicle.utils';
@Component({
standalone: true,
@@ -8,6 +8,7 @@ import { createVehicle } from './teacher.utils';
})
export class AppComponent {
car = createVehicle('car', 'diesel');
moto = createVehicle('moto', 'diesel');
bus = createVehicle('bus', undefined, 20);
boat = createVehicle('boat', undefined, 300, true);
bicycle = createVehicle('bicycle');