type A = {disabled?: boolean, error?: string} const foo: {aasdf?: string; asdf?: number; foob?: string; zzz?: string; yyy: string} = {}