Creates a writable Alien Signal.
The type of the signal value.
The initial value of the signal.
The created Alien Signal.
const countSignal = createSignal(0);countSignal.set(10); // sets the value to 10 Copy
const countSignal = createSignal(0);countSignal.set(10); // sets the value to 10
Creates a writable Alien Signal.