Skip to content

Commit 792954b

Browse files
danymarquesthePunderWoman
authored andcommitted
docs(core): give types to signal API (angular#58965)
PR Close angular#58965
1 parent 27a678a commit 792954b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adev/src/content/guide/signals/linked-signal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class ShippingMethodPicker {
7272
console.log(this.selectedOption()); // {"id":2,"name":"Postal Service"}
7373
}
7474

75-
shippingOptions: WritableSignal<ShippingMethod[]> = signal([
75+
shippingOptions = signal<ShippingMethod[]>([
7676
{ id: 0, name: 'Ground' },
7777
{ id: 1, name: 'Air' },
7878
{ id: 2, name: 'Sea' },

0 commit comments

Comments
 (0)