export function coerceToArray(thing: A | A[]): A[] { return Array.isArray(thing) ? thing : [thing] }