any idea how to make auto inferring a tuple ? current inference is (string|boolean)[] , the issue here is i want only one case (A) to have the array of false and string , and the others to be a Boolean values only. how to achieve this with auto inference or any other method without having to type the whole object since it is kind of long.
const inicialErrState: { [key: string]: boolean; a: [boolean, string] } = {
a: [false, ''],
b: false,
c: false,
d: false,
};