mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
parent
c980d06182
commit
1faca6f4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Reference in a new issue