Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Reducer

type Reducer<S, A> = (prevState: S, action: A) => S;

§Type Parameters

§Type

§
(prevState: S, action: A) => S
[src]