A generic type can clarify state shape, especially for null initial values, arrays, objects, or union types.