mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Jessica Janiuk
parent
c980d06182
commit
1faca6f4fd
@@ -72,7 +72,7 @@ export class ShippingMethodPicker {
|
||||
console.log(this.selectedOption()); // {"id":2,"name":"Postal Service"}
|
||||
}
|
||||
|
||||
shippingOptions: WritableSignal<ShippingMethod[]> = signal([
|
||||
shippingOptions = signal<ShippingMethod[]>([
|
||||
{ id: 0, name: 'Ground' },
|
||||
{ id: 1, name: 'Air' },
|
||||
{ id: 2, name: 'Sea' },
|
||||
|
||||
Reference in New Issue
Block a user